VSTA macro - detaching

madasu
✭
Hello
I made a macro that detaches everything from a tool.
As a tool i use a smart component which uses Attacher. The 'Mount' option in Attacher is not checked. However, when i run macro it detaches everything, but detached children are not keeping their positions and return to the original one.
I want to ask You if there is any solution so that detached parts could keep their positions?
madasu2012-02-20 14:05:26
0
Comments
-
I've managed to do it somehow, but it is not the best solution i think.I stored part.transform (x,y,z,rx,ry,rz) before detaching and moved parts to this coordinates after.Still could use some help.0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 300 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 330 IRC5
- 66 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 826 RAPID Programming
- 10 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings