Changing model group names

I thought I was doing something simple and quick: Changing Model Group names by deleting a certain string out of the name. What is going wrong here?

The error is Warning: Element.SetParameterByName operation failed. The parameter’s storage type is not a string.

This seems to work, anyone else trying this; make sure you get GroupType and not Group

Yes this is the Solution. Always make sure what you want to edit. If you want to change the Name of a Type you should provice a Type. Same goes for Family Instance Parameters and Type Parameters. If you want to change an instance parameter you should provide a FamilyInstance. If you want to change a type parameter provide the FamilyType. Same goes for groups

1 Like

What package I need to download to use this script? The “Element.SetName” is not a standard node. Thnx