I have 23 rooms selected. If I do 1 at a time, it works, but trying to do all of them, I get the following error.
Autodesk.Revit.Exceptions.ArgumentException: Name cannot include prohibited characters. Parameter name: name at Autodesk.Revit.DB.Element.set_Name(String name) at EvolveLAB.Glyph.Revit.Commands.Sheets.SheetCreationCommand.MakeSheets(Document doc, IEnumerable1 sheetCreationSettings, Action1 updateProgressBar)
@rwilhoit My guess is that one or more of the rooms you have selected have a character used in their name that is now allowed to be used in a sheet name. Can you share a list of the room names with us?
Do you know if it works for all 23 rooms if you do it one by one?
I’ll look into creating a patch to filter out invalid characters when generating sheets from rooms, which could help resolve this.
I’ll look into making a patch where all of the characters in the above error will get converted to hyphens or spaces or something.
Strange that it’s allowed in a room name, but not a sheet name. Perhaps because a room name is a parameter value, but a sheet name is something higher level, that’s shown in the project browser and stuff? Who knows!