ViewObject API

When the GUI is up, each object in the FreeCAD document has an associated ViewObject, that resides in the FreeCADGui document counterpart. A view object can be retrieved by two ways. Example:

myViewObj = FreeCAD.ActiveDocument.myObjectName.ViewObject myViewObj = FreeCADGui.ActiveDocument.myObjectName print myViewObj.IV