The base class of many other classes. This class is also a linked list which enables you to link several objects with each other.
Uses a description ID as a key into the container, and stores the specified data.
Parameters: |
|
---|
Uses a description ID as a key into the container, and retrieves the stored data.
Parameters: | key (int, list or DescID) – The description ID. |
---|---|
Return type: | any |
Returns: | See __setitem__() |
Insert self under obj.
Note
Please take care, obj is a correct type. For example you cannot insert a document under an BaseObject. You can check it by calling C4DAtom.GetClassification() and C4DAtom.GetType().
Parameters: | obj (GeListNode) – The object to insert under. |
---|
Insert this node as the last child of obj.
Note
You must make sure that the insertion is sane, for example you cannot insert a key into the object list. It is also necessary to call Remove() first if the object is already inserted into another list.
Parameters: | obj (GeListNode) – The object to insert under. |
---|
Insert self after obj.
Note
Please take care, obj is a correct type. For example you cannot insert a document under an BaseObject. You can check it by using C4DAtom.GetClassification() and C4DAtom.GetType().
Parameters: | obj (GeListNode) – The object to insert after. |
---|
Insert self before obj.
Note
Please take care, obj is a correct type. For example you cannot insert a document under an BaseObject. You can check it by using C4DAtom.GetClassification() and C4DAtom.GetType().
Parameters: | obj (GeListNode) – The object to insert before. |
---|
Returns the parent object.
Return type: | GeListNode or None |
---|---|
Returns: | The parent object. |
Returns the first child of this object in the list.
Return type: | GeListNode or None |
---|---|
Returns: | The first child object. |
Returns the last child of this object in the list.
Return type: | GeListNode or None |
---|---|
Returns: | The first child object. |
Returns the next object in the list.
Return type: | GeListNode or None |
---|---|
Returns: | The next object. |
Returns the previous object in the list.
Return type: | GeListNode or None |
---|---|
Returns: | The previous object. |
Returns children in a list (not grandchild).
Return type: | list of type GeListNode |
---|---|
Returns: | All children in a list. |
Removes this node from a list.
Get the document for this node.
Return type: | BaseDocument |
---|---|
Returns: | The document. |
Returns the list head.
Return type: | GeListNode |
---|---|
Returns: | The list head. |
Checks if the node is of a type that can be inserted into a BaseDocument
Return type: | bool |
---|---|
Returns: | True if the node is document related, otherwise False. |
Raw access to a 64-bit bitfield, containing information about the node state.
Parameters: | bit (int) – Bit index:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | bool | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns: | Bit state. |
Sets bits in the 64-bit bitfield of the node.
Parameters: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | bool |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns: | Bit state. |