Need Assistance for using makro

Fathi
✭
in RobotStudio
im had a problem using makro to load a part from library,if anyone who could assist me to overcome these problem,im using RS11 for simulation and programming.
0
Comments
-
Hi,Here is an example:Station actStn = Project.ActiveProject as Station;
string myFolderPath = C:\MyPart.rslib";
GraphicComponentLibrary library = GraphicComponentLibrary.Load(myFolderPath, true);
GraphicComponent gfxComp = library.RootComponent.CopyInstance();
actStn.GraphicComponents.Add(gfxComp);Best regards,
Anders Spaak
ABB Robotics0
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
- 337 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 831 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings