PositionSensorCollection Class

class NXOpen.Mechatronics.PositionSensorCollection

Bases: object

Represents a collection of Position Sensor.

To obtain an instance of this class, refer to NXOpen.Mechatronics.PhysicsManager

New in version NX11.0.0.

Methods

Method Description
CreatePositionSensorBuilder
FindObject
Finds the NXOpen.Mechatronics.PositionSensor with the given name. An exception will be thrown if no object can be found with given name.

Method Detail

CreatePositionSensorBuilder

PositionSensorCollection.CreatePositionSensorBuilder

Creates a NXOpen.Mechatronics.PositionSensorBuilder.

Signature CreatePositionSensorBuilder(positionSensor)

Parameters:positionSensor (NXOpen.Mechatronics.PositionSensor) – NXOpen.Mechatronics.PositionSensor to be edited, if None then create a new one
Returns:
Return type:NXOpen.Mechatronics.PositionSensorBuilder

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

FindObject

PositionSensorCollection.FindObject

Finds the NXOpen.Mechatronics.PositionSensor 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.Mechatronics.PositionSensor.
Returns:NXOpen.Mechatronics.PositionSensor with this name.
Return type:NXOpen.Mechatronics.PositionSensor

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)