Have/Do BuiltInCategory Enum Values Change From One Version To Another?

ChrisHildebranAtWork
Contributor
Contributor

Have/Do BuiltInCategory Enum Values Change From One Version To Another?

ChrisHildebranAtWork
Contributor
Contributor

Example:

Would the value of  'OST_ProjectInformation' be '-2103101' (real value) in one version of revit  and '-2402101' (random value) in another?

Chris Hildebran
VDC Software Development
IBEW 48 Wireman
ISA CCST 1
JH Kelly, LLC
0 Likes
Reply
Accepted solutions (1)
411 Views
1 Reply
Reply (1)

jeremy_tammik
Autodesk
Autodesk
Accepted solution

Dear Chris,

 

No, the BuiltInCategory Enum values remain constant.

 

Proof: Revit add-ins from previous versions run unchanged in newer releases of Revit, unless they make use of officially deprecated and obsoleted code. Such a change in the enum value would break things, and would have to be documented in the Revit API changes.

 

Cheers,

 

Jeremy

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open