Is there any way to run transform at Link object from python? For LinkGroup object there is .Document.setEdit but there is no such thing for Link.
[solved] run transform at Link from python?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[solved] run transform at Link from python?
Last edited by dprojects on Tue Jul 26, 2022 6:02 pm, edited 1 time in total.
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking
Re: run transform at Link from python?
Std Alignment is probably closest to what you want to do, if I understand correctly.
This is pretty old and not very flexible, however (could well use a refresher, I guess).
This is pretty old and not very flexible, however (could well use a refresher, I guess).
Cheers,
Markus
Markus
Re: run transform at Link from python?
No, I was looking in the wrong place. The setEdit is at ViewObject but I was looking at the object's root. There is also resetEdit that turn off the edit mode. This works as it should at Link as well, Sorry.mfro wrote: ↑Tue Jul 26, 2022 2:29 pm Std Alignment is probably closest to what you want to do, if I understand correctly.
This is pretty old and not very flexible, however (could well use a refresher, I guess).
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking