SensorBuilder Class¶
-
class
NXOpen.CAE.ResponseSimulation.SensorBuilder¶ Bases:
NXOpen.CAE.ResponseSimulation.BaseBuilderRepresents a
NXOpen.CAE.ResponseSimulation.SensorBuilderTo create a new instance of this class, use
NXOpen.CAE.ResponseSimulation.SensorCollection.CreateSensorBuilder()New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| ObjectLabel | Returns the object label |
| ReverseNormalDirection | Returns or sets the option for reverse the normal direction. |
| SensorCoordinateType | Returns or sets the sensor’s coordinate type |
| SensorDirectionX | Returns or sets the setting for x direction compontent of sensor. |
| SensorDirectionY | Returns or sets the setting for y direction compontent of sensor. |
| SensorDirectionZ | Returns or sets the setting for z direction compontent of sensor. |
| SensorResultType | Returns or sets the sensor’s result type |
| SensorRotationX | Returns or sets the setting for x rotation compontent of sensor. |
| SensorRotationY | Returns or sets the setting for y rotation compontent of sensor. |
| SensorRotationZ | Returns or sets the setting for z rotation compontent of sensor. |
| SensorType | Returns or sets the sensor’s type |
| SensorVector | Returns or sets the user defined direction. |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| GetSelectedNodes | Returns the destination nodes |
| SetSelectedNodes | Sets the destination nodes |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
ReverseNormalDirection¶
-
SensorBuilder.ReverseNormalDirection¶ Returns or sets the option for reverse the normal direction.
Only available when the sensor type is
CAE.ResponseSimulationSensorType.Normal-------------------------------------Getter Method
Signature
ReverseNormalDirectionReturns: Return type: bool New in version NX6.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
ReverseNormalDirectionParameters: normalDirection (bool) – New in version NX6.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorCoordinateType¶
-
SensorBuilder.SensorCoordinateType¶ Returns or sets the sensor’s coordinate type
-------------------------------------Getter Method
Signature
SensorCoordinateTypeReturns: Return type: NXOpen.CAE.ResponseSimulation.SensorCoordinateTypeNew in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorCoordinateTypeParameters: coordinateType ( NXOpen.CAE.ResponseSimulation.SensorCoordinateType) –New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorDirectionX¶
-
SensorBuilder.SensorDirectionX¶ Returns or sets the setting for x direction compontent of sensor.
If true, the response on direction x will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorDirectionXReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorDirectionXParameters: directionX (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorDirectionY¶
-
SensorBuilder.SensorDirectionY¶ Returns or sets the setting for y direction compontent of sensor.
If true, the response on direction y will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorDirectionYReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorDirectionYParameters: directionY (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorDirectionZ¶
-
SensorBuilder.SensorDirectionZ¶ Returns or sets the setting for z direction compontent of sensor.
If true, the response on direction z will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorDirectionZReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorDirectionZParameters: directionZ (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorResultType¶
-
SensorBuilder.SensorResultType¶ Returns or sets the sensor’s result type
-------------------------------------Getter Method
Signature
SensorResultTypeReturns: Return type: NXOpen.CAE.ResponseSimulation.SensorResultTypeNew in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorResultTypeParameters: resultType ( NXOpen.CAE.ResponseSimulation.SensorResultType) –New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorRotationX¶
-
SensorBuilder.SensorRotationX¶ Returns or sets the setting for x rotation compontent of sensor.
If true, the response on rotation x will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorRotationXReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorRotationXParameters: rotationX (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorRotationY¶
-
SensorBuilder.SensorRotationY¶ Returns or sets the setting for y rotation compontent of sensor.
If true, the response on rotation y will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorRotationYReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorRotationYParameters: rotationY (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorRotationZ¶
-
SensorBuilder.SensorRotationZ¶ Returns or sets the setting for z rotation compontent of sensor.
If true, the response on rotation z will be calculated. Only available when the sensor type is
CAE.ResponseSimulationSensorType.Component-------------------------------------Getter Method
Signature
SensorRotationZReturns: Return type: bool New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorRotationZParameters: rotationZ (bool) – New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorType¶
-
SensorBuilder.SensorType¶ Returns or sets the sensor’s type
-------------------------------------Getter Method
Signature
SensorTypeReturns: Return type: NXOpen.CAE.ResponseSimulation.SensorTypeNew in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorTypeParameters: sensorType ( NXOpen.CAE.ResponseSimulation.SensorType) –New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SensorVector¶
-
SensorBuilder.SensorVector¶ Returns or sets the user defined direction.
Only available when the sensor type is
CAE.ResponseSimulationSensorType.Direction-------------------------------------Getter Method
Signature
SensorVectorReturns: Return type: NXOpen.DirectionNew in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
-------------------------------------Setter Method
Signature
SensorVectorParameters: sensorVector ( NXOpen.Direction) –New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
Method Detail¶
GetSelectedNodes¶
-
SensorBuilder.GetSelectedNodes¶ Returns the destination nodes
Signature
GetSelectedNodes()Returns: Return type: list of NXOpen.CAE.FENodeNew in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
SetSelectedNodes¶
-
SensorBuilder.SetSelectedNodes¶ Sets the destination nodes
Signature
SetSelectedNodes(destinationNodes)Parameters: destinationNodes (list of NXOpen.CAE.FENode) –New in version NX5.0.0.
License requirements: nx_response_anlys (“NX Response Analysis”)
Validate¶
-
SensorBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.