GraphManager Class¶
-
class
NXOpen.Motion.
GraphManager
¶ Bases:
object
Represents a collection of Graph objects, only creation is supported
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX5.0.0.
Methods¶
Method | Description |
---|---|
CreateGraphBuilder | Creates a NXOpen.Motion.GraphBuilder |
CreateGraphObjectBuilder | Creates a NXOpen.Motion.GraphObjectBuilder |
Find | Finds the NXOpen.Motion.Graph object with the given name. |
FindObject | Finds the NXOpen.Motion.Graph object with the given name. |
Method Detail¶
CreateGraphBuilder¶
-
GraphManager.
CreateGraphBuilder
¶ Creates a
NXOpen.Motion.GraphBuilder
Signature
CreateGraphBuilder(graph)
Parameters: graph ( NXOpen.Motion.Graph
) –NXOpen.Motion.Graph
to be editedReturns: GraphBuilder object Return type: NXOpen.Motion.GraphBuilder
New in version NX5.0.0.
Deprecated since version NX11.0.0: Use
Motion.GraphManager.CreateGraphObjectBuilder()
instead.License requirements: mechanisms (“MECHANISMS”)
CreateGraphObjectBuilder¶
-
GraphManager.
CreateGraphObjectBuilder
¶ Creates a
NXOpen.Motion.GraphObjectBuilder
Signature
CreateGraphObjectBuilder(graph)
Parameters: graph ( NXOpen.Motion.Graph
) –NXOpen.Motion.Graph
to be editedReturns: GraphObjectBuilder object Return type: NXOpen.Motion.GraphObjectBuilder
New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Find¶
-
GraphManager.
Find
¶ Finds the
NXOpen.Motion.Graph
object with the given name.An exception will be thrown if no object can be found with given name.
Signature
Find(name)
Parameters: name (str) – Name of the Graph object. Returns: NXOpen.Motion.Graph
object with this name.Return type: NXOpen.Motion.Graph
New in version NX7.5.0.
Deprecated since version NX11.0.0: Use
Motion.GraphManager.FindObject()
instead.License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
GraphManager.
FindObject
¶ Finds the
NXOpen.Motion.Graph
object with the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)
Parameters: name (str) – Name of the Graph object. Returns: NXOpen.Motion.Graph
object with this name.Return type: NXOpen.Motion.Graph
New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)