10-01-2021
11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-01-2021
11:45 AM
Yes. That part is much simpler. The ComponentOccurrence object has a Property called "Grounded" that is Read/Write and has a Boolean type value. So a line like this should do the trick:
If Not oSubAsmOcc.Grounded Then
oSubAsmOcc.Grounded = True
End If
or
Component.InventorComponent("SubAsmName:1").Grounded = True
Wesley Crihfield
(Not an Autodesk Employee)