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 corresponding |
|
Returns the corresponding |
Returns the C4D object that holds the |
|
|
Sets up the |
|
Returns the node graph connected to this object. |
Returns the node connected to the BaseList2D element. |
|
Returns the path of the node connected to the BaseList2D element. |
|
|
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.
FindCorrespondingBaseList
(absolutePath)¶ Returns the corresponding
c4d.BaseList2D
element for amaxon.GraphNode
but will not create one if not already present.- Parameters
absolutePath (
maxon.NodePath
) – Absolute Path to the Node.- Returns
c4d.BaseList2D
element, e.g. a Material.- Return type
-
NimbusBaseInterface.
FindOrCreateCorrespondingBaseList
(absolutePath)¶ Returns the corresponding
c4d.BaseList2D
element for amaxon.GraphNode
. This function creates a new one if not already present.- Parameters
absolutePath (
maxon.NodePath
) – Absolute Path to the Node.- Returns
c4d.BaseList2D
element. The return value can be None in case no element can be created for the given path, e.g. if it is invalid- 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
-
static
NimbusBaseInterface.
GetGraphNodeFromBaseList
(bl)¶ Returns the node connected to the BaseList2D element.
- Parameters
bl (
c4d.BaseList2D
) – The BaseList2D representing a GraphNode.- Returns
GraphNode on success.
- Return type
-
static
NimbusBaseInterface.
GetNodePathFromBaseList
(bl)¶ Returns the path of the node connected to the BaseList2D element.
- Parameters
bl (
c4d.BaseList2D
) – The BaseList2D representing a GraphNode.- Returns
NodePath 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