Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Accessing the steps of an ITEM_TYPE_PROGRAM from Python

#1
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.


Messages In This Thread
Accessing the steps of an ITEM_TYPE_PROGRAM from Python - bycso-mark- 06-10-2023, 01:05 AM



Users browsing this thread:
1 Guest(s)