I have created a simple sensor of measurment type.
Now I try to retrieve sensor data using SolidWorks API.
- First of all trying to get sensor type from sensor object Sensor.SensorType it returns 4, and there
is no such definition in swSensorType_e enumeration. So what number 4 stands for? - Sensor.GetSensorFeatureData() returns an object, but trying to cast it to DimensionSensorData
returns null. So to what object type I should cast the object returned by Sensor.GetSensorFeatureData() in
order to get sensor data?
Thanks a lot for any help!
SolidworksApi macros