GraphManager Class¶
-
class
NXOpen.Motion.GraphManager¶ Bases:
objectRepresents a collection of Graph objects, only creation is supported
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManagerNew 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.GraphBuilderSignature
CreateGraphBuilder(graph)Parameters: graph ( NXOpen.Motion.Graph) –NXOpen.Motion.Graphto be editedReturns: GraphBuilder object Return type: NXOpen.Motion.GraphBuilderNew 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.GraphObjectBuilderSignature
CreateGraphObjectBuilder(graph)Parameters: graph ( NXOpen.Motion.Graph) –NXOpen.Motion.Graphto be editedReturns: GraphObjectBuilder object Return type: NXOpen.Motion.GraphObjectBuilderNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Find¶
-
GraphManager.Find¶ Finds the
NXOpen.Motion.Graphobject 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.Graphobject with this name.Return type: NXOpen.Motion.GraphNew 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.Graphobject 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.Graphobject with this name.Return type: NXOpen.Motion.GraphNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)