> ## 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.

# SensorRotatingLidar – Creating a rotating LiDAR sensor

The following script sample shows you an example on how to create a Rotating LiDAR Sensor.

```python theme={null}
rotatingLidarSensor = SpeosSim.SensorRotatingLidar.Create()
rotatingLidarSensor.Name = "Created geometrical rotating LiDAR sensor"

rotatingLidarSensor.OriginPoint.Set(GetRootPart().Curves[0])
rotatingLidarSensor.HorizontalDirection.Set(GetRootPart().Curves[1])
rotatingLidarSensor.VerticalDirection.Set(GetRootPart().Curves[2])

rotatingLidarSensor.VerticalChannelFile = R".\SPEOS input files\hesai.txt"
```
