
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to compare two faces to see if they are the same face. I have three faces and a hole feature on one of the three faces. I am trying to determine what face the hole is on(top, right, left). I can get the face the hole feature was created on as:
Set oHoleFace = oHoleFeature.PlacementDefinition.Parent.Sketch.PlanarEntity
I can get the three face objects I need to check for the hole on.
Set oTopFace = oExtrudeFeatures.Item(1).Faces.Item(13)
Set oRightFace = oExtrudeFeatures.Item(1).Faces.Item(3)
Set oLeftFace = oExtrudeFeatures.Item(1).Faces.Item(12)
Can I compare faces or do I need to use vectors? I tried comparing the InternalName of the faces but this seems to fail when there is more than 1 hole center within a hole feature.
Solved! Go to Solution.