This is a Document class Show the object show() -> None Hide the object hide() -> None Set the position setPos(matrix) -> None Set the given object in edit mode. setEdit([String:Name|ViewProvider|DocumentObject]|,mod,subname=None) -> Bool Returns the current object in edit mode or None if there is no such object getInEdit() -> Object or None Reset (end) the current editing. resetEdit() -> None Add an Inventor object addAnnotation(AnnoName,FileName,[ModName]) -> None Update the view representations of all objects update() -> None Return the object with the given name getObject(Name) -> Object or None deprecated -- use ActiveObject deprecated -- use ActiveView Return a list if mdi views of a given type mdiViewsOfType(type) -> list of MDIView Send a message to all views of the document sendMsgToViews(msg) -> None Merges this document with another project file mergeProject(filename) -> None Change TreeItem of a document object. toggleTreeItem(DocObject,[flag=0]) -> None -- flag can be 0:Toggle, 1:Collaps, 2:Expand scroll the tree view to the item of a view object scrollToTreeItem(ViewObject) -> None Add or remove view object from scene graph of all views depending on its canAddToSceneGraph() toggleInSceneGraph(ViewObject) -> None The active object of the document The active view of the document The editing transformation matrix A tuple(obj,subname,subElement,editMode) of editing object reference, or None if no object is in edit Current edit mode. Only meaningful when there is a current object in edit The related App document to this Gui document Indicate whether the document is undoing/redoing Returns True if the document is marked as modified, and False otherwise