MarkerCollection Class¶
-
class
NXOpen.Motion.
MarkerCollection
¶ Bases:
object
Represents a collection of Markers
To obtain an instance of this class, refer to
NXOpen.Part
New in version NX4.0.0.
Methods¶
Method | Description |
---|---|
Create | Create a NXOpen.Motion.Marker in the Scenario for Motion+ database. |
CreateMarkerBuilder | Creates a NXOpen.Motion.MarkerBuilder |
FindObject | Finds the NXOpen.Motion.Marker with the given name. |
Method Detail¶
Create¶
-
MarkerCollection.
Create
¶ Create a
NXOpen.Motion.Marker
in the Scenario for Motion+ database.Signature
Create(name, subtype, link, origin, orientation)
Parameters: - name (str) –
- subtype (
NXOpen.Motion.MarkerMarkerType
) – - link (
NXOpen.Motion.Link
) – - origin (
NXOpen.Point
) – - orientation (
NXOpen.NXMatrix
) –
Returns: Return type: New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
CreateMarkerBuilder¶
-
MarkerCollection.
CreateMarkerBuilder
¶ Creates a
NXOpen.Motion.MarkerBuilder
Signature
CreateMarkerBuilder(marker)
Parameters: marker ( NXOpen.Motion.Marker
) –NXOpen.Motion.Marker
to be edited, if None then create a new oneReturns: Return type: NXOpen.Motion.MarkerBuilder
New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
MarkerCollection.
FindObject
¶ Finds the
NXOpen.Motion.Marker
with the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)
Parameters: name (str) – The name of the NXOpen.Motion.Marker
.Returns: NXOpen.Motion.Marker
with this name.Return type: NXOpen.Motion.Marker
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)