Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Sergio.D.Suárez
in reply to: Anonymous

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