Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Copy body with link from more instances

Status
Not open for further replies.

HarunMusic

Computer
Nov 21, 2014
71
BA
HI, i have problem, i hope someone can help, thx.
I made macro, it can copy body from one part to another. I select body, PARTNUMBEr(of body part) and partnumber of part where to copy.
in this scenario a can define body

partDocument1 = documents1.Item(ListBox3.Items(j - 1) & ".CATPart")
Dim part1 As Part
part1 = partDocument1.Part
Dim bodies1 As Bodies
bodies1 = part1.Bodies
Dim body1 As Body
but this only work with one instance, when i have more i must take the instance name or product name of part, in this case i dont know how to define body of first part :(

 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top