RoadCollection Class¶
-
class
NXOpen.Motion.RoadCollection¶ Bases:
objectRepresents a collection of Road objects
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManagerNew 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.RoadBuilderSignature
CreateRoadBuilder(road)Parameters: road ( NXOpen.Motion.Road) –NXOpen.Motion.Roadto be editedReturns: RoadBuilder object Return type: NXOpen.Motion.RoadBuilderNew in version NX11.0.0.
License requirements: None.
FindObject¶
-
RoadCollection.FindObject¶ Finds the
NXOpen.Motion.Roadobject 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.Roadobject with this name.Return type: NXOpen.Motion.RoadNew in version NX11.0.0.
License requirements: None.