Continue to Site

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 -paste special and keep same gesoset hirarchy VBA

Status
Not open for further replies.

appvid

Automotive
Nov 9, 2012
81
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
Replies continue below

Recommended for you

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

Top