Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble turning path display OFF from Python
#1
Hello,

I am trying to use the item command:

在总结m.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:
在总结m = RDK.Item(name, ITEM_TYPE_PROGRAM)
在总结m.setPoseFrame(frame)
在总结m.setSpeed(fast)
在总结m.MoveJ(approach_target)
在总结m.setSpeed(slow)
在总结m.MoveL(action_target)
在总结m.ShowInstructions(True)
在总结m.setParam("Tree", "Collapse")
在总结m.setParam("PathDisplay", "None")
#2
Here's how to hide paths from a program:

Code:
prog.setVisible(False)


See our documentation:
//www.sinclairbody.com/doc/en/PythonAPI/robo...setVisible
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting ourOnline Documentation.
#3
That worked beautifully!

Thank you Sam.




Users browsing this thread:
1 Guest(s)