WorkObject Alias

jficca
✭
in RobotStudio
Hello:
I would like to establish a WorkObject Alias but have not had much luck.
Is it possible?
ex: PERS wobj1=:rotary_center;
Does anyone have suggestions about how to implement?
thanks,
Jeremy
0
Comments
-
Hello:Normally you declare both workobjects as persistant and the do the assign in your program.
PERS wobjdata wobj1:= [ FALSE, TRUE, "", [ [0, 0, 0], [1, 0, 0,0] ], [ [0, 0, 0], [1, 0, 0 ,0] ] ];
PERS wobjdata rotary_center:= [ FALSE, TRUE, "", [ [0, 0, 0], [1, 0, 0,0] ], [ [0, 0, 0], [1, 0, 0 ,0] ] ];
In your program you would have the line wobj1:=rotary_center;
<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Note assign is := not =:BR Jim Proulx0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 830 RAPID Programming
- 13 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings