Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
ieatacid
in reply to: BrianEkins

Well this works, but it's obviously not the *right* way to do it (I don't think)

    Edge edge = m_extrudeFace.Edges[1];
    Face face = edge.Faces[1];
    WorkPlane workPlane = workPlanes.AddByPlaneAndOffset(face, dOffset);
    workPlane.Visible = true;

There has to be a way to check if the edge is right on the face of the part - or will this always be the case with edge 1?

 

Edit: Another hole that doesn't go all the way through produced the same exception as above, so it's not going to work unless I can figure out how to check if edge->face is at the opening of the hole (open to suggestions >.< )