How to insert component into machine via Python Script


I want to signal the roboter to put a component into a machine but using driveJointsToComponent to the frame ProductLocation doesn’t work. I have also created another frame at the same location but in the Root-Feature and it worked but it put the component inside the machine and even then it didn’t land in the container of the machine.

What is the best approach here and how do I do it?