
How to change collision set with a smart component?

EricH
✭
in RobotStudio
I want to update a collision set with a smart component. Is that somehow possible?
Tagged:
0
Answers
-
// Index through the collision sets in a station
for (int i = 0; i < station.CollisionSets.Count; i++)
{
// We make a change to the collision set
station.CollisionSets[i].Name = "Changed Name";
}
OR
station.CollisionSets.First(x => x.DisplayName == "SpecificName").CollisionColor = Color.Black;0 -
This is via SDK right?
0
Categories
- All Categories
- 5.4K RobotStudio
- 379 UpFeed
- 15 Tutorials
- 12 RobotApps
- 286 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 272 IRC5
- 41 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 731 RAPID Programming
- 15 Wizard Easy Programming
- 108 Collaborative Robots
- 3 Job listings