Solid Edge Framework Type Library
AddSurfaceAreaSensor Method
Member of the SurfaceAreaSensorAreaTypeConstants constant set. Specifies the type of sensor - positive area or negative area - to be added.
Member of the SurfaceAreaSensorSelectionTypeConstants constant set. Specifies whether faces of a chain of faces are to be selected.
Specifies the name of the sensor.
Contains a description for the sensor..
Specifies the lower value of the sensor's range, providing a mechanism for controlling the sensitivity of the sensor.
Specifies the upper value of the sensor's range.
Specifies the minimum value of the threshold for the sensor.
Specifies the maximum value of the threshold for the sensor.
Member of the SensorOperatorConstants constant set. Specifies the mathematical operator to be used for testing the sensor value against the threshold value.
Member of the SensorDisplayTypeConstants constant set. Specifies the type of sensor display to use, either range type or true/false.
Member of the SensorUpdateMechanismConstants constant set. Specifies whether the sensor is to update manually or automatically.
Specifies the face(s) to be evaluated.
Description
Adds a surface area sensor to the sensors collection.
Syntax
Visual Basic
Public Function AddSurfaceAreaSensor( _
   ByVal iSensorType As SurfaceAreaSensorAreaTypeConstants, _
   ByVal iSelectionType As SurfaceAreaSensorSelectionTypeConstants, _
   ByVal Name As String, _
   ByVal Description As String, _
   ByVal LowerRange As Double, _
   ByVal UpperRange As Double, _
   ByVal MinimumThreshold As Double, _
   ByVal MaximumThreshold As Double, _
   ByVal Operator As SensorOperatorConstants, _
   ByVal DisplayType As SensorDisplayTypeConstants, _
   ByVal UpdateMechanism As SensorUpdateMechanismConstants, _
   ByRef Element As Variant _
) As Object
Parameters
iSensorType
ValueDescription
seSurfaceAreaSensorAreaTypeNegSensor Surface Area - Negative Area
seSurfaceAreaSensorAreaTypePosSensor Surface Area - Positive Area
Member of the SurfaceAreaSensorAreaTypeConstants constant set. Specifies the type of sensor - positive area or negative area - to be added.
iSelectionType
ValueDescription
seSurfaceAreaSensorSelectFaceSensor Surface Area Selection Type - Face
seSurfaceAreaSensorSelectFaceChainSensor Surface Area Selection Type - Face Chain
Member of the SurfaceAreaSensorSelectionTypeConstants constant set. Specifies whether faces of a chain of faces are to be selected.
Name
Specifies the name of the sensor.
Description
Contains a description for the sensor..
LowerRange
Specifies the lower value of the sensor's range, providing a mechanism for controlling the sensitivity of the sensor.
UpperRange
Specifies the upper value of the sensor's range.
MinimumThreshold
Specifies the minimum value of the threshold for the sensor.
MaximumThreshold
Specifies the maximum value of the threshold for the sensor.
Operator
ValueDescription
seSensorOperatorBetweenSensor operator - between
seSensorOperatorEqualToSensor operator - equal to
seSensorOperatorGreaterThanSensor operator - greater than
seSensorOperatorInvalidInvalid sensor operator
seSensorOperatorLessThanSensor operator - less than
seSensorOperatorNotBetweenSensor operator - not between
seSensorOperatorNotEqualToSensor operator - not equal to
Member of the SensorOperatorConstants constant set. Specifies the mathematical operator to be used for testing the sensor value against the threshold value.
DisplayType
ValueDescription
seSensorDisplayTypeHorizontalRangeSensor display - horizontal range
seSensorDisplayTypeInvalidInvalid sensor display
seSensorDisplayTypeTrueFalseSensor display - true/false
Member of the SensorDisplayTypeConstants constant set. Specifies the type of sensor display to use, either range type or true/false.
UpdateMechanism
ValueDescription
seSensorUpdateMechanismAutomaticAutomatic sensor update
seSensorUpdateMechanismInvalidInvalid sensor update mechanism
seSensorUpdateMechanismManualManual sensor update
Member of the SensorUpdateMechanismConstants constant set. Specifies whether the sensor is to update manually or automatically.
Element
Specifies the face(s) to be evaluated.
See Also

Sensors Collection  | Sensors Members

Send comments on this topic.