RoboDK Forum
Hiding frames- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK bugs (//www.sinclairbody.com/forum/Forum-RoboDK-bugs)
+--- Thread: Hiding frames (/Thread-Hiding-frames)



Hiding frames-RBE-10-19-2018

参考系有可能隐藏车站吗, and the robot flange reference using Python? I have tried to use the setVisible() method as shown below, but it does not seem to apply to these two frames:

Code:
def makeStation():
station = RDK.ActiveStation()
station.setName('Student Station')
station.setVisible(False) # Does not work.

station.AddFile(PATH + 'UR5_2014350238.robot')
ur5_2014350238_base = RDK.Item('UR5 Base')
ur5_2014350238_base.setName('UR5_2014350238 Base')
ur5_2014350238_base.setPose(eye(4))
ur5_2014350238_base.setVisible(False)

ur5_2014350238 = RDK.Item('UR5')
ur5_2014350238.setName('UR5_2014350238')
ur5_2014350238.setVisible(True, False) # Does not work.



RE: Hiding frames-Jeremy-10-24-2018

Thank you for noticing this issue, we just fixed it with the latest version:
www.sinclairbody.com/downloads/Win64

FYI, I'm moving this thread to the bugs section