06-10-2023, 01:05 AM
I have this program (ITEM_TYPE_PROGRAM)
In the GUI item tree I can unfold it and see it's composed of stuff like
- Set Ref: ...
- Set Tool: ...
- MoveL ...
- MoveL ...
Is there a way to unfold a program like this from Python and, say, print the pose of the target corresponding to each MoveL instruction? I already tried `myprogram.InstructionList()`, where `myprogram` is the ITEM_TYPE_PROGRAM object. This returned a matrix, which I didn't understand.
In the GUI item tree I can unfold it and see it's composed of stuff like
- Set Ref: ...
- Set Tool: ...
- MoveL ...
- MoveL ...
Is there a way to unfold a program like this from Python and, say, print the pose of the target corresponding to each MoveL instruction? I already tried `myprogram.InstructionList()`, where `myprogram` is the ITEM_TYPE_PROGRAM object. This returned a matrix, which I didn't understand.