Recover the 3d view object

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
andreas25
Posts: 3
Joined: Thu Jan 27, 2022 4:41 pm

Recover the 3d view object

Post by andreas25 »

Hello, we are French students of Computer Science. Would you have a solution to get the QApplication from the 3D objects view or at least a QWidget ?
wmayer
Founder
Posts: 20317
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Recover the 3d view object

Post by wmayer »

Can you explain in more details what you want to achieve, please?
andreas25
Posts: 3
Joined: Thu Jan 27, 2022 4:41 pm

Re: Recover the 3d view object

Post by andreas25 »

Hello, I want to get the 3d objects view to integrate it in PyFlow.

Unfortunately I have searched all over FreeCAD but I can't find a command. I can detach the view with the following command :
Gui.runCommand('Std_ViewDockUndockFullscreen',1)

But I would like to get the variable corresponding to this view (QApplication) in order to extract its QWidgets and integrate it to PyFlow.
Thanks for your future answer
Post Reply