Is there any way to access and edit information related to a sensor using the API? Specifically I am working with photoelectric sensors, and would like to use the API to access and edit the information that normally is shown in the dialog window that comes up when using the "Edit Sensor" command (i.e., setting detection area and the list of objects to check interference with).
Currently the API does not expose methods and properties to edit the sensors, the information is read only. The base interface implemented by all sensor objects is ITxPlcSensor. You can check it in the Tecnomatix.NET.chm. Some of the sensors has corresponding classes in the .NET API, for example TxPlcRobotPoseSensor, but the photoelectric one does not have such class. It is represented by the TxPlcSensor.