Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

create a line from one face of another part in the product

Status
Not open for further replies.

hoangthe

Mechanical
May 5, 2021
17
I want to create a macro to contour the face of another part in the product. How can I create a surface like the one in the picture with a macro?
2022-07-01_135401_xf7x6j.png
 
Replies continue below

Recommended for you

You cant't make a link between geometrical features located in different parts with VBA.

What you can do is to copy currently selected face with Selection.Copy and then paste it to target part with Selection.PasteSpecial with "asresult" argument.
 
So is there a way to make a line from a macro that takes a face from another part?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor