Anonymous
421 Views, 1 Reply
09-12-2019
10:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-12-2019
10:30 PM
Hi,
I have a part file with 7 bodies. How do i make one body invisible using ilogic rule.
I need to make make the body "FEA house " and then export the file seperately.
Regards,Neil
Solved! Go to Solution.
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