Message 1 of 6

Not applicable
01-28-2015
05:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I distinguish between Solid Bodies and Surface Bodies?
In my case I want to get the Surface Bodies only (and just the actual surface)
If I use SurfaceBodies it seems to control both Solid Bodies and Surface Bodies and if I use WorkSurfaces then nothing seems to happen.
Please see snippet below for a very simplified example.
Dim oDoc As Inventor.Document oDoc = ThisDoc.Document For Each oWS In oDoc.ComponentDefinition.SurfaceBodies 'For Each oWS In oDoc.ComponentDefinition.WorkSurfaces 'oWS.Visible = False oWS.Visible = True Next
Solved! Go to Solution.