> ## 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. Valid options: SENSOR\_BY\_AREA, SENSOR\_BY\_MATERIAL, and SENSOR\_BY\_PLIES.
* entities: Entities of the sensor.

### Returns

The created sensor.
