DocumentObject module

class DocumentObject.DocumentObject

Bases: DocumentSerializable, IDocumentObject

Represents a document object.

property ChildObjects: DocumentObjectCollection

Gets the child objects of the entity.

Clone() DocumentObject

Clones the document object.

property DocumentObjectType: DocumentObjectType

Gets the type of the document object.

property FirstChild: DocumentObject

Gets the first child.

GetNextWidgetSibling() IDocumentObject
GetPreviousWidgetSibling() IDocumentObject
property IsComposite: bool

Indicating whether this instance is composite.

property LastChild: DocumentObject

Gets the last child.

property NextSibling: IDocumentObject

Gets the next sibling.

property Owner: DocumentObject

Gets the owner of this entity.

property PreviousSibling: IDocumentObject

Gets the previous sibling.

ToString(seperator: str) str

Exports the name and index in container of the object into a string in the specified seperator.

Parameters:

seperator (str) – The specified seperator.

Returns:

The result str.

Return type:

str