maxon.NimbusBaseInterface¶
Description¶
maxon.NimbusBaseRef
manages a maxon.NodesGraphModelRef
that is owned by a classic c4d.BaseList2D
object.c4d.BaseList2D
object can own multiple graphs, one for each node space.Methods Signature¶
|
Returns the uuid of the given BaseList2D object. |
Returns the C4D object that holds the |
|
|
Sets up the |
|
Returns the node graph connected to this object. |
|
Returns a path. |
Returns the identifier of the node space of the node graph. |
|
|
Opens the node editor for the node graph held by this |
|
|
|
Sets a path. |
|
Returns the |
Methods Definition¶
-
NimbusBaseInterface.
BaseList2DToUuid
(object)¶ Returns the uuid of the given BaseList2D object.
- Parameters
object (
c4d.BaseList2D
) – BaseList2D object to find.- Returns
Uuid on success.
- Return type
-
NimbusBaseInterface.
GetBaseListRoot
()¶ Returns the C4D object that holds the
maxon.NimbusBaseRef
.- Returns
c4d.BaseList2D
element, e.g. a Material.- Return type
-
NimbusBaseInterface.
GetDescID
(port)¶ Sets up the
c4d.DescID
of the parameter which corresponds to the given port.- Parameters
port (
maxon.NodePath
) – A port path.- Returns
The DescID.
- Return type
-
NimbusBaseInterface.
GetGraph
()¶ Returns the node graph connected to this object.
- Returns
NodesGraphModelRef on success.
- Return type
-
NimbusBaseInterface.
GetPath
(type)¶ Returns a path.
Note
The returned path can be invalid and point to a non-existing object.
- Parameters
type (
maxon.NIMBUS_PATH
) – Path type.- Returns
Absolute Path to a Node or Port, depending on the given type.
- Return type
-
NimbusBaseInterface.
GetSpaceId
()¶ Returns the identifier of the node space of the node graph.
- Returns
Node space identifier.
- Return type
-
NimbusBaseInterface.
OpenInEditor
(path=None)¶ Opens the node editor for the node graph held by this
maxon.NimbusBaseRef
.- Parameters
path (
maxon.NodePath
) – An optional path pointing to a group of the node graph.
-
NimbusBaseInterface.
PrviateOpenInEditor
(path)¶
-
NimbusBaseInterface.
SetPath
(type, path)¶ Sets a path.
- Parameters
type (
maxon.NIMBUS_PATH
) – Path type.path (
maxon.NodePath
) – Absolute Path to a Node or an empty path.
-
NimbusBaseInterface.
UuidToBaseList2D
(uuid)¶ Returns the
c4d.BaseList2D
element with the given uuid.- Parameters
uuid (
maxon.Uuid
) – Uuid to find.- Returns
BaseList2D object on success.
- Return type