When parsing the BuiltInParameters and trying to pull the LabelUtils.GetLabelFor to the human readable label, there are several bips that come up with nothing for the label. (And one invalid, so haven’t figured that out either.)
These bips do have strings (or should)
I’m guessing this is something not right in either IronPython or Dynamo’s implementation. Not sure where to post this as a bug.
Autodesk.Revit.DB.BuiltInParameter,STRUCTURAL_CONNECTION_SYMBOL,
Autodesk.Revit.DB.BuiltInParameter,STAIRS_LANDINGTYPE_TREADRISER_TYPE,
Autodesk.Revit.DB.BuiltInParameter,SPACE_PEOPLE_ACTIVITY_LEVEL_PARAM,
Autodesk.Revit.DB.BuiltInParameter,RBS_DUCT_FITTING_LOSS_TABLE_PARAM,
Autodesk.Revit.DB.BuiltInParameter,SPACING_JUSTIFICATION,
Autodesk.Revit.DB.BuiltInParameter,SPACING_APPEND,
Autodesk.Revit.DB.BuiltInParameter,SURFACE_PATTERN_ID_PARAM,
Autodesk.Revit.DB.BuiltInParameter,INVALID,
myBuiltInParameterData = []
myBuiltInParameterError = []
for bip in myBuiltInParameters:
try:
myBuiltInParameterData.append([LabelUtils.GetType(bip), bip, LabelUtils.GetLabelFor(bip)])
except:
myBuiltInParameterError.append([LabelUtils.GetType(bip), bip, None])
myBuiltInParameterGroups = System.Enum.GetValues(BuiltInParameterGroup)