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!

Copy body with link from more instances

Status
Not open for further replies.

HarunMusic

Computer
Joined
Nov 21, 2014
Messages
71
Location
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 :(

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top