[Solved] 0.19pre PartWB, Attachment >Apply, donnot work
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: 0.19pre PartWB, Attachment >Apply, donnot work
Doing a bit more testing it looks like that only the C++ version of the attachment dialog suffers from this problem while with the Python version I don't get it.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: 0.19pre PartWB, Attachment >Apply, donnot work
Could it be that attachment reacts to changes to individual properties (onChanged) during the transaction unrolling/rerolling?
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: 0.19pre PartWB, Attachment >Apply, donnot work
Ah, that's how it's done [expression support in python task dialogs]! good to know, thanks!!
Re: 0.19pre PartWB, Attachment >Apply, donnot work
@wmayer, your new fix doesnot work on my machine. Please give a check.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20052 (Git)
Build type: Release
Branch: master
Hash: 6291921e9abe737e4440ff5814ca58547defadef
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Chinese/China (zh_CN)
Re: [PR] 0.19pre PartWB, Attachment >Apply, donnot work
The actual binding was implemented with git commit ce3eadf289b
It's not possible to only override TaskAttachmentEditor.py without having rebuilt the FreeCADGui.dll.
It's not possible to only override TaskAttachmentEditor.py without having rebuilt the FreeCADGui.dll.
Re: 0.19pre PartWB, Attachment >Apply, donnot work
For the sake of completeness: the binding has been implemented only one day before with git commit ce3eadf289b
Afterwards I stumbled across the function https://github.com/FreeCAD/FreeCAD/blob ... x.cpp#L308 and how it can be used
https://github.com/FreeCAD/FreeCAD/blob ... Gui.py#L87
Re: [PR] 0.19pre PartWB, Attachment >Apply, donnot work
Thanks, got it.wmayer wrote: ↑Thu Mar 26, 2020 7:14 am The actual binding was implemented with git commit ce3eadf289b
It's not possible to only override TaskAttachmentEditor.py without having rebuilt the FreeCADGui.dll.