RoboDK Forum
Attach Python Program to an Object- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Attach Python Program to an Object (/Thread-Attach-Python-Program-to-an-Object)



Attach Python Program to an Object-jacob70941-10-05-2020

Is it possible to attach a python program to an object?
在文件的例子中,“Example-06。d-Pick和地点with laser sensor", the Python program "SensorActivate" is attached under the object "Sensor SICK WL4S".

However, I couldn't drag any Python program into any object when I open up a new station.

Another question is, do I really need to attach the Python program to a sensor type object to make it work?