Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
May 5, 2021
Messages
17
Location
VN
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
 
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

Back
Top