Automatic Close the Drawing Viewer Window

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Automatic Close the Drawing Viewer Window

Post by microelly2 »

if there is a page object ('Drawing::FeaturePage) inside of a freecad file,
this drawing is automaticly opened, when I open the file.

Is there a possibility to prohibit this behavior of loading?
Isa there a possibility to close the drawing viewer window with some python commands?

thank you for some tipps.
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Automatic Close the Drawing Viewer Window

Post by wmayer »

No, there is no way to at the moment to not open the drawing view and closing via Python might be possible using PyQt or PySide.
Post Reply