> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create_sensor

#### Model.create\_sensor(name, id=None, active=True, sensor\_type='SENSOR\_BY\_AREA', entities=None, locked=False)

Create new sensor.

* **Parameters:**
  * name: Name of the rule.
  * active: Whether the sensor is active.
  * sensor\_type: Type of sensor. Available options: `SENSOR_BY_AREA`, `SENSOR_BY_MATERIAL`, and `SENSOR_BY_PLIES`.
  * entities: Entities of the sensor.
* **Returns:**
  The created sensor.
