02-18-2022, 06:57 PM
(This post was last modified: 02-18-2022, 06:59 PM bySamuelEStreamline.Edit Reason: missing code snippet
)
Hello,
I am trying to use the item command:
program.setParam("PathDisplay", "None")
in Python code to turn off path display for a program but the paths are still being displayed.
Does anyone have a solution?
I am trying to use the item command:
program.setParam("PathDisplay", "None")
in Python code to turn off path display for a program but the paths are still being displayed.
Does anyone have a solution?
Code:
program = RDK.Item(name, ITEM_TYPE_PROGRAM)
program.setPoseFrame(frame)
program.setSpeed(fast)
program.MoveJ(approach_target)
program.setSpeed(slow)
program.MoveL(action_target)
program.ShowInstructions(True)
program.setParam("Tree", "Collapse")
program.setParam("PathDisplay", "None")