Closed Rene1695 closed 2 years ago
Hi René,
Thanks for the feedback. Much appreciated.
Hey,
thanks for the quick response!
So, I've tested the project on my setup and it works. But I am working on linux, and you ran on Windows. As you already alluded it might be a case where for some reason wxWidgets don't behave the same across platforms (this happens quite often). I'll need to test and debug this on Windows and then I'll need to find a fix that works across platforms. Please hang in there
Okey, thanks a lot! If i can help you in any kind of way, please feel free to let me know! I will try later on to set up a linux machine and test the plugin there, to confirm, that it is a windows issue.
I've found the issue. On windows if the wxButton is set to anything other as wx.ID_ANY (e.g. wx.ID_OK or wx.ID_CANCEL) this id overrides any value that is returned via EndModal call.
For the time being you can change button ids in initial_dialog_GUI.py
line 28 and 31 to wx.ID_ANY. It should work then. Official update should be available in a couple of days
Very nice! Its working flawlessly, thank you very much! :)
Hey,
i have been working for quite a long time with your plugin in KiCad 5. Now i tried to work with it in KiCad 6, but unluckly, i cant get it to work. Here is my setup and my Test-Project:
KiCad-Version:
KiCad-Test-Project: Main-Sheet:
Hierachical Sheet:
PCB-Layout:
Now Steps i do to save the Layout inside the RefFrame:
After this, nothing happens anymore and no pckl file will be created. In my root directory of the project i find the log file which contains the following infos:
I was travelling through your code and, to me, it seems like, that the plugin is not entering the case
if res == InitialDialog.SAVE:
because nothing else will be added into the log file. I tried to setup your plugin in PyCharm, bypassing the gui and set the res variable manually. Unfortunatly, this ends up in other errors, which might be caused by my interventions:Do you have any kind of work-aorund for this? Im not sure, if the problem is on my side, or if i overlooked something.
Many thanks for your help and your work on this plugin!!
Kind regards, René