DistanceSensorCollection Class¶
-
class
NXOpen.Mechatronics.DistanceSensorCollection¶ Bases:
objectRepresents a collection of Distance Sensor.
To obtain an instance of this class, refer to
NXOpen.Mechatronics.PhysicsManagerNew in version NX11.0.0.
Methods¶
| Method | Description |
|---|---|
| CreateDistanceSensorBuilder | Creates a NXOpen.Mechatronics.DistanceSensorBuilder. |
| FindObject | Finds the NXOpen.Mechatronics.DistanceSensor with the given name. An exception will be thrown if no object can be found with given name. |
Method Detail¶
CreateDistanceSensorBuilder¶
-
DistanceSensorCollection.CreateDistanceSensorBuilder¶ Creates a
NXOpen.Mechatronics.DistanceSensorBuilder.Signature
CreateDistanceSensorBuilder(distanceSensor)Parameters: distanceSensor ( NXOpen.Mechatronics.DistanceSensor) –NXOpen.Mechatronics.DistanceSensorto be edited, if None then create a new oneReturns: Return type: NXOpen.Mechatronics.DistanceSensorBuilderNew in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
FindObject¶
-
DistanceSensorCollection.FindObject¶ Finds the
NXOpen.Mechatronics.DistanceSensorwith 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.DistanceSensor.Returns: NXOpen.Mechatronics.DistanceSensorwith this name.Return type: NXOpen.Mechatronics.DistanceSensorNew in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)