create_sensor#
- Model.create_sensor(*, name='Sensor', sensor_type='sensor_by_area', active=True, entities=())#
Instantiate a Sensor.
- Parameters:
name (str) – Name of the sensor.
sensor_type (SensorType) – Type of sensor: The sensor can be scoped by area, material, plies, or solid model.
active (bool) – Inactive sensors are not evaluated.
entities (Sequence[Fabric | Stackup | SubLaminate | ElementSet | OrientedSelectionSet | ModelingPly]) – List of entities which define the sensor’s scope.
- Return type:
Added in ACP server version 24.2.
Examples using Model.create_sensor#
Sensor