Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit API 2022 - how to find equivalent BuiltInParameters

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
jaymee.manglicmot
384 Views, 2 Replies

Revit API 2022 - how to find equivalent BuiltInParameters

Hello, Good day, we are preparing for our Revit tools upgrade to 2022 and I tried changing the BuiltInParameter to its equivalent ParameterTypeId, but I could not find the ones for the following:

  • BuiltInParameter.ALL_MODEL_TYPE_NAME
  • BuiltInParameter.ALL_MODEL_MARK

Can anyone help how to find this? Thanks.

2 REPLIES 2
Message 2 of 3

Some values of the BuiltInParameter enum are repeated. In your case: 

DOOR_NUMBER = -1001203,
ALL_MODEL_MARK = -1001203,

SYMBOL_NAME_PARAM = -1002001,
ALL_MODEL_TYPE_NAME = -1002001,

Then the corresponding ParameterTypeId uses the name of the other BuiltInParameter : 

ParameterTypeId.DoorNumber;
ParameterTypeId.SymbolNameParam;

Rregards.

Message 3 of 3

Thank you! Didn't notice that at first.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community