This is the ViewProvider base class addProperty(string, string) -- Add a generic property. The first argument specifies the type, the second the name of the property. removeProperty(string) -- Remove a generic property. Note, you can only remove user-defined properties, not built-in ones. A list of supported property types Show the object Hide the object Check if the object is visible canDragObject(obj=None): check whether the child object can be removed by dragging dragObject(obj): remove a child object by dropping canDropObject(obj=None,owner=None,subname=None) check whether the child object can be added by dropping dropObject(obj,owner=None,subname=None): add a child object by dropping canDragAndDropObject(obj) Check whether the child object can be removed from other parent and added here by drag and drop replaceObject(oldObj, newObj) -> Int: replace a child object Returns 1 if succeeded, 0 if not found, -1 if not supported Trigger double clicking the corresponding tree item of this view object Add a new display mode to the view provider Show a list of all display modes Return a string representation of the Inventor node Set a transformation on the Inventor node Returns list of objects that are to be grouped in tree under this object. partialRender(sub=None,clear=False): render only part of the object sub: string or list of string refer to the subelement. If it is None then reset the partial rendering. clear: true to add, or false to remove the subelement(s) for rendering. getElementColors(elementName=None) -> dict(elementName:color) setElementColors(colors): set element colors colors: color dictionary of type elementName:(r,g,b,a) getElementPicked(pickPoint): return the picked subelement getDetailPath(subname,path,append=True): return Coin detail and path of an subelement subelement: dot separated string reference to the sub element pPath: output coin path leading to the returned element detail append: If true, path will be first appended with the root node and the mode switch node of this view provider. Trigger icon changed signal getBoundingBox(subname=None, transform=True, view=None): obtain the bounding box of this view object * subname: the optional subname referring a sub-object * transform: whether to apply the transformation matrix of this view provider * view: the MDIView, default to active view A pivy Separator to add a custom scenegraph to this ViewProvider The icon of this ViewProvider A pivy Separator with the root of this ViewProvider A pivy SoSwitch for the display mode switch of this ViewProvider Get/Set the default display mode in turns of coin node index Represents the whole ViewProvider as an Inventor string. Tells the tree view whether to remove the children item from root or not Get/set visibilities of all links to this view object Subname referecing the sub-object for holding dropped object