Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent of edge / face

Status
Not open for further replies.

NirVidP

Industrial
May 10, 2010
45
Hello,

I have a part with a Pad.
I interactively select an edge / a face in the graphics screen.

1. Using a VBA macro I find the parent of the selected edge / face. As expected, the Pad object is the output of the Parent property
When I add a Hole feature on a face of Pad, the Hole object becomes the output of Parent property even when that Face / Edge is not part of the Hole.
In general, I have found that, the last feature added to the Pad becomes the Parent of all the edges and the faces.
Is this a standard behavior or am I missing something>
I expected Pad to be returned as Parent when I select an edge / a face which belongs to Pad or multiple features if that edge / face is shared by them.

2. This I think is a related question, hence adding here (If not, I will start a new thread).
How can I get (using VBA) the face that a particular edge belongs to?

All help is appreciated.


 
Replies continue below

Recommended for you

CATIA behaves like this because it computes final geometry from bodies, not individual mechanical features.

I guess you have to obtain pad from it's hole explicitly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor