
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.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings