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