RoadCollection Class¶
-
class
NXOpen.Motion.
RoadCollection
¶ Bases:
object
Represents a collection of Road objects
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX11.0.0.
Methods¶
Method | Description |
---|---|
CreateRoadBuilder | Creates a NXOpen.Motion.RoadBuilder |
FindObject | Finds the NXOpen.Motion.Road object with the given name. |
Method Detail¶
CreateRoadBuilder¶
-
RoadCollection.
CreateRoadBuilder
¶ Creates a
NXOpen.Motion.RoadBuilder
Signature
CreateRoadBuilder(road)
Parameters: road ( NXOpen.Motion.Road
) –NXOpen.Motion.Road
to be editedReturns: RoadBuilder object Return type: NXOpen.Motion.RoadBuilder
New in version NX11.0.0.
License requirements: None.
FindObject¶
-
RoadCollection.
FindObject
¶ Finds the
NXOpen.Motion.Road
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 Road object. Returns: NXOpen.Motion.Road
object with this name.Return type: NXOpen.Motion.Road
New in version NX11.0.0.
License requirements: None.