Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hide mechanism/robot by instruction
#1
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? 

As for now I had to work like the attached image looks.


Attached Files Thumbnail(s)
   
#2
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)


   


Attached Files
.py   DisplayItem.py (Size: 1.26 KB / Downloads: 10)
#3
Cool, thanks a lot, I am gonna test it!
  




Users browsing this thread:
1 Guest(s)