Hey people,
is there a simple method to open the "import..." file chooser in a macro or the python console?
Thanks for your intrest.
Search found 4 matches
- Tue May 15, 2018 1:01 pm
- Forum: Python scripting and macros
- Topic: Open Import Dialog from macro
- Replies: 1
- Views: 445
- Mon Apr 16, 2018 1:38 pm
- Forum: Python scripting and macros
- Topic: SubObjects of Selected Paths
- Replies: 1
- Views: 507
SubObjects of Selected Paths
Hey,
I want to access a selected point of a path. Like
But SubObjects is empty. If I try:
It returns: ('1043 G01 A-82.8493 C-26.7898 X-17.8165 Y45.4607 Z17.459',)
Thanks for your help
I want to access a selected point of a path. Like
Code: Select all
Point = Gui.Selection.getSelectionEx()[0].SubOjects[0]
Code: Select all
Gui.Selection.getSelectionEx()[0].SubElementNames
Thanks for your help
- Mon Apr 09, 2018 11:36 am
- Forum: Python scripting and macros
- Topic: Moving Part by press on Button
- Replies: 3
- Views: 497
Re: Moving Part by press on Button
Thanks that works.
But I got a 2nd question now. While the macro is running, that means, as long as the qtui is open, i can't do anything else in FreeCAD. But it would be nice, if I could change the view, while the script is running.
- Mon Apr 09, 2018 9:05 am
- Forum: Python scripting and macros
- Topic: Moving Part by press on Button
- Replies: 3
- Views: 497
Moving Part by press on Button
Hey,
I wrote a simple makro, with a UI. By a press on a button, the activeObject moves to a certain point. The problem is that you can see that change not before the makro is finished. Is there any way to see the change while running?
Best Regards
I wrote a simple makro, with a UI. By a press on a button, the activeObject moves to a certain point. The problem is that you can see that change not before the makro is finished. Is there any way to see the change while running?
Best Regards