RoboDK Forum
Hide mechanism/robot by instruction- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Hide mechanism/robot by instruction (/Thread-Hide-mechanism-robot-by-instruction)



Hide mechanism/robot by instruction-eKoh95-10-30-2019

I need to program a tool changer and need to hide the tool on stand and show the tool on robot when the robot picks a tool.

But the event for hiding objects/tools only allows that. My tool is a mechanism and it is not allowed to hide/show by this event instruction.

How can I hide/show a mechanism by an instruction?

Or how can I convert a mechanism to a tool?

至于现在我不得不工作像附件图片looks.


RE: Hide mechanism/robot by instruction-Albert-10-31-2019

It is not possible to show/hide mechanisms using the event instruction. Instead, I recommend you to use use the macro attached to provoke this effect. This is a small Python program you can add to your project and trigger the visibility change with a program call.

In your case this would look like this:

Code:
DisplayItem(GripperRibs, Show)
DisplayItem(GripperRibs, Hide)





RE: Hide mechanism/robot by instruction-eKoh95-11-01-2019

Cool, thanks a lot, I am gonna test it!