09-13-2019
02:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-13-2019
02:02 AM
Hi, this is a method to access each body of the multibody part file. You access through the item.
Dim oDoc As PartDocument = ThisDoc.Document Dim oCD As ComponentDefinition = oDoc.ComponentDefinition Dim oSolid As SurfaceBody = oCD.SurfaceBodies.Item(3) oSolid.Visible = False
If you have your bodies correctly named in your tree inside the browser, you could also hide through the name. You should create a loop that searches between all surfacebodies and when it finds a solid with the same name as you choose, then hide this solid.
I hope this helps with your problem. Regards
Please accept as solution and give likes if applicable.
I am attaching my Upwork profile for specific queries.
Sergio Daniel Suarez
Mechanical Designer
| Upwork Profile | LinkedIn