Thanks, Mario, for taking care of the Code-Snippets page.
Chris
finding/selecting all elements below cursor
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: finding/selecting all elements below cursor
Finally I was able to write a small script/macro out of the lines you provided me.
The result can be found over here... viewtopic.php?f=18&t=12381&p=151950#p151950
Thanks again,
HoWil
The result can be found over here... viewtopic.php?f=18&t=12381&p=151950#p151950
Thanks again,
HoWil
Re: finding/selecting all elements below cursor
Sorry for opening an old topic... But is the macro also added to the add-on manager?
Re: finding/selecting all elements below cursor
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: finding/selecting all elements below cursor
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: finding/selecting all elements below cursor
Hello,
You made a great macro! This function is a must have.
I have some questions :
Why do we have to click on "start here" button ?
It is important for the code or just to verify that you see the dialog window?
When I click on an object, the freecad windows go above the dialog one. It is a normal behavior?
I tried to add the following code to the macro but I end up freezing Freecad.
Can we keep the dialog windows above freecad all the time?
zacl
You made a great macro! This function is a must have.
I have some questions :
Why do we have to click on "start here" button ?
It is important for the code or just to verify that you see the dialog window?
When I click on an object, the freecad windows go above the dialog one. It is a normal behavior?
I tried to add the following code to the macro but I end up freezing Freecad.
Code: Select all
self.dialog.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
zacl