# Use save as group in dynamo

**URL:** <https://forum.dynamobim.com/t/use-save-as-group-in-dynamo/88288>\
**Category:** Revit\
**Created:** [April 6, 2023, 2:34pm UTC](https://forum.dynamobim.com/t/use-save-as-group-in-dynamo/88288 "2023-04-06T14:34:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yol4026](https://avatars.discourse-cdn.com/v4/letter/y/9de053/32.png) [@yol4026](https://forum.dynamobim.com/u/yol4026)\
**Post date:** [April 6, 2023, 2:34pm UTC](https://forum.dynamobim.com/t/use-save-as-group-in-dynamo/88288/1 "2023-04-06T14:34:04Z")

</div>

In Revit, I can save Model Group objects as separate files using the Save as Group feature. However, since there are too many groups, it takes a long time to do this manually. I believe it might be possible to automate this process using Dynamo, possibly with a Python node. If I provide the GroupType and folder path as inputs, can you help me write a Python script that saves the Model Groups to the specified folder?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 6, 2023, 2:56pm UTC](https://forum.dynamobim.com/t/use-save-as-group-in-dynamo/88288/2 "2023-04-06T14:56:57Z")

</div>

This is only a postable command in the API so you’re probably out of luck. However, Jacob Small has a suggested workaround that you can try here:

> [@Mass save model groups to path](https://forum.dynamobim.com/t/mass-save-model-groups-to-path/15704/6):
>
> I guess I misunderstood the scope some… I haven’t tested this so it may not work and there could be a few lumps along the way. Consider making a Revit file with model text that matches the group name as a test as I’m sure your stuff will take longer to work with. But you could try this. Save a new copy of the file so you can go back in case of failure. It’s likely that no one will be able to work in this file during step two anyway. Group all the groups. Yes this could be bad as nested gr…
