This is a Document class show(objName) -> None\n Show an object.\n objName : str\n Name of the `Gui.ViewProvider` to show. hide(objName) -> None\n Hide an object.\n objName : str\n Name of the `Gui.ViewProvider` to hide. setPos(objName, matrix) -> None\n Set the position of an object.\n objName : str\n Name of the `Gui.ViewProvider`.\n matrix : Base.Matrix\n Transformation to apply on the object. setEdit(obj, mod=0, subName) -> bool\n Set an object in edit mode.\n obj : str, App.DocumentObject, Gui.ViewPrivider\n Object to set in edit mode. mod : int\n Edit mode. subName : str\n Subelement name. Optional. getInEdit() -> Gui.ViewProviderDocumentObject or None\n Returns the current object in edit mode or None if there is no such object. resetEdit() -> None\n End the current editing. addAnnotation(annoName, fileName, modName) -> None\n Add an Inventor object from a file.\n annoName : str\n Annotation name. fileName : str\n File name. modName : str\n Display mode name. Optional. update() -> None\n Update the view representations of all objects. getObject(objName) -> object or None\n Return the object with the given name. If no one exists, return None.\n ObjName : str\n Object name. activeObject() -> object or None\n The active object of the document. Deprecated, use ActiveObject. activeView() -> object or None\n The active view of the document. Deprecated, use ActiveView. mdiViewsOfType(type) -> list of MDIView\n Return a list of mdi views of a given type.\n type : str\n Type name. save() -> bool\n Attempts to save the document saveAs() -> bool\n Attempts to save the document under a new name sendMsgToViews(msg) -> None\n Send a message to all views of the document.\n msg : str mergeProject(fileName) -> None\n Merges this document with another project file.\n fileName : str\n File name. toggleTreeItem(obj, mod=0, subName) -> None\n Change TreeItem of a document object.\n obj : App.DocumentObject mod : int\n Item mode. 0: Toggle, 1: Collapse, 2: Expand, 3: Expand path. subName : str\n Subelement name. Optional. scrollToTreeItem(obj) -> None\n Scroll the tree view to the item of a view object.\n obj : Gui.ViewProviderDocumentObject toggleInSceneGraph(obj) -> None\n Add or remove view object from scene graph of all views depending\non its canAddToSceneGraph().\n obj : Gui.ViewProvider 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.