Save/Export Groups

I’ve seen this question come up in older posts, but haven’t seen anything for a few years. Is it possible to bulk export multiple groups to separate RVT files? I’m not seeing anything in the OOB nodes, but I may be missing something.

image

I am not even sure the API allows for it (still).


But thinking out loud here… I think the potential node/graph would look like.

  1. Select a group in Dynamo
  2. Create a new background file to copy group contents into
  3. Past the group contents
  4. Save as new RVT with that name

The downside is, attached detail groups would not come through and the origin can get weird.

A Group.Origin node maybe, or Group.ByOrigin, Group,IsFlipped. I can come up with a few more :slight_smile:
I haven’t seen em yet, i’m not up to date though
Damn, i could do so much, as long as Group.Ungroup is there too :slight_smile:

Thanks, John. I actually started a new topic that may be better suited for my question now that I know those library features don’t work. In the meantime, do you think your suggestion could be run as a loop or would it need to be run for each group? I’m not very familiar with background files…a separate topic on this forum show that I’m trying to figure them out right now…

I bet you could loop through each group in a single python node and progress that way. If it were done with all package nodes it would also technically be in a loop I think.

FWIW, here is something Harry showed,

2 Likes

This look intriguing, I’m going to give it a test run. Thanks for sharing!