Message 1 of 3

Not applicable
06-10-2014
06:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is it possiable to know a face is used to create a workplane. I am creating an addin to make workplanes on all 6 faces of a rectangular surfacebody (solid) in multibody part. I want to avoid creating plane on faces already used to create a workplane. I am looking something like below.
Dim oPart As PartDocument Set oPart = ThisApplication.ActiveDocument Dim oPartDef As PartComponentDefinition Set oPartDef = oPart.ComponentDefinition Dim oFace As face For Each oFace In oPartDef.SurfaceBodies.Item(1).Faces 'Code to check any plane is created by 'offset this face Next
Solved! Go to Solution.