Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 364 IRC5
- 82 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings