简体   繁体   中英

FreeCAD select all objects without Gui

I am trying to select all the objects in a stp file using FreeCAD with external python script. Is there any way to select all the objects form stp file with freecad external script without opening gui

You can iterate over all Objects like this:

for obj in FreeCAD.ActiveDocument.Objects

Then you can do something with it...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM