Add Group under parameter group list

Can we add new group under the parameter group list using dynamo? tried something can anyone help?


wanted to add BIM Data as new filter

@Sheetal.More i think these are all built-in. cant add new ones.

1 Like

Hi Sheetal, welcome :wave:
Parameter Groups are a built in type in Revit so it is not possible to add, change or remove a group. See the API docs here. The BuiltInParameterGroup class is also on the way out with Revit API moving to GroupTypeId class (also fixed) see here.

You can get a list with python like this

import clr

clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import ParameterUtils

bipg = [pg.TypeId for pg in ParameterUtils.GetAllBuiltInGroups() if "parameter" in pg.TypeId]

OUT = sorted(bipg)

Your screen shot and comment also has a few misconceptions - firstly I would say that ‘groups’ (‘GroupType’, ‘GroupTypeId’, ‘DefinitionGroup’, etc.) in Revit is incredibly confusing, even I still get lost sometimes.
The parameter groups shown (in yellow) are objects which have an integer value referring to the Parameter Group ElementId. The clockwork node is looking for model groups based on their GroupType so your not going to get the required outcome.
You could look at shared parameters, however their ‘groups’ do not translate to ‘parameter groups’. I feel your pain - see below

1 Like