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

Inventor 2016 enumerating outer edges

klemen_zivkovic
Enthusiast

Inventor 2016 enumerating outer edges

klemen_zivkovic
Enthusiast
Enthusiast

Hello guys,

 

I want to get only outer edges of pipe on picture. I am using attached VBA code to do that.

Does somebody know how can I diferentiate if edge is member of outer surface of pipe and not inner surface of pipe.

 

I will be thankfull for any idea.

 

I am running Inventor 2016.

 

regards,

0 Likes
Reply
Accepted solutions (1)
2,281 Views
21 Replies
Replies (21)

adam.nagy
Autodesk Support
Autodesk Support

I assume you might have solved it on your own by now, but I guess that you could check inside the GetOuterEdgesOfFaces function that if you are dealing with a single face and it's cylindrical (oFace.SurfaceType = kCylinderSurface) then you just pass back all the edges.



Adam Nagy
Autodesk Platform Services
0 Likes

klemen_zivkovic
Enthusiast
Enthusiast

Yes I solved it - your solution works great! Thank you again for your generous support!

0 Likes