In which Revit categories are the Builtin parameters of Revit?
I can get all the 3334 builtin parameters of Revit:
But how to know where are those parameters belonging to categories of Revit?
I tried that python script but checking the parameters list for some categories, I found missing lot of parameters, specially instance parameters, not sure if that script is only reading builtin parameters of the type elements of the Family library of the project browser.
import clr
clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *
import System
from System.Collections.Generic import List
clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.Elements)
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
builtInCats = System.Enum.GetValues(BuiltInCategory)
def getBips(bic):
bic = [ElementId(bic)]
catlist = List[ElementId](bic)
paramUtils = Autodesk.Revit.DB.ParameterFilterUtilities
paramIds = paramUtils.GetFilterableParametersInCommon(doc,catlist)
builtInParams = System.Enum.GetValues(BuiltInParameter)
bipIds = []
for bip in builtInParams:
bipIds.append(ElementId(bip))
bipDict = dict(zip(bipIds,builtInParams))
bips = [bipDict.get(pId, None) for pId in paramIds]
if bips == []:
bips = [None]
return bips
OUT = zip(builtInCats, map(getBips, builtInCats))
For example for category Walls I get this list of builtin parameters:
Assembly Name,Keynote,Angle From Vertical,Cross-Section,Type IfcGUID,IfcGUID,Estimated Reinforcement Volume,Volume,Area,Model,Manufacturer,Comments,Type Comments,URL,Description,Structural Material,Roughness,Absorptance,Thermal Mass,Thermal Resistance (R),Heat Transfer Coefficient (U),Length,Assembly Description,Assembly Code,Family Name,Type Name,Enable Analytical Model,Type Mark,Fire Rating,Cost,Mark,Structural Usage,Function,Width
In resume would be great to get the parameters as Clockwork does for Project Parameters but for Builtin Parameters: