MotionSensorCollection Class¶
-
class
NXOpen.Motion.
MotionSensorCollection
¶ Bases:
object
Represents a collection of sensor objects
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX6.0.0.
Methods¶
Method | Description |
---|---|
CreateMotionSensorBuilder | Creates a NXOpen.Motion.MotionSensorBuilder |
FindObject | Finds the NXOpen.Motion.MotionSensor with the given name. |
Method Detail¶
CreateMotionSensorBuilder¶
-
MotionSensorCollection.
CreateMotionSensorBuilder
¶ Creates a
NXOpen.Motion.MotionSensorBuilder
Signature
CreateMotionSensorBuilder(sensor)
Parameters: sensor ( NXOpen.Motion.MotionSensor
) –Returns: Return type: NXOpen.Motion.MotionSensorBuilder
New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
MotionSensorCollection.
FindObject
¶ Finds the
NXOpen.Motion.MotionSensor
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.MotionSensor
.Returns: NXOpen.Motion.MotionSensor
with this name.Return type: NXOpen.Motion.MotionSensor
New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)