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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy -paste special and keep same gesoset hirarchy VBA

Status
Not open for further replies.

appvid

Automotive
Joined
Nov 9, 2012
Messages
81
Location
US
Hi Could some one tell me how to keep Model tree structure of geosets while I Copy from one part to another using Paste special as result.

if you copy a geoset that contains geosets and paste as result in a new file, I do not get same structure. But all features are dumped in one geo set
Please see attached image.

thanks
var
 
 http://files.engineering.com/getfile.aspx?folder=30423354-03be-4077-92ed-c94b0e210363&file=structure.jpg
Hmm unfortunatly NO. I want all isolated when copied to new file (geo sets and solid bodies). "As specified in Part Document" will keep the parent-child relations that is nothin gbut creating same file again.

Some times we only copy some elements from Part1 to Part2. (so it has to be as result)
 
The picture looked like everything was in order. Was that a picture of the result you want? You may need a code that creates a geoset with the same name, then loops through the hybridshapes and copy/pastes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top