BuiltInParameterGroup is not found in Revit Api 2025

BuiltInParameterGroup is not found in Revit Api 2025

Niko_Davydov
Advocate Advocate
3,728 Views
1 Reply
Message 1 of 2

BuiltInParameterGroup is not found in Revit Api 2025

Niko_Davydov
Advocate
Advocate

Hallo,

I am writing a plugin for Revit 2025 and encountering an error with BuiltInParameterGroup. The Revit 2025 API documentation does not state that it has been removed as an Enum. Instead, it only mentions some methods that use it. Was it actually removed?

Niko_Davydov_1-1714644148022.png

 

 

Niko_Davydov_0-1714643988555.png

 

Accepted solutions (1)
3,729 Views
1 Reply
Reply (1)
Message 2 of 2

Mohamed_Arshad
Advisor
Advisor
Accepted solution

Hi @Niko_Davydov 

 

     Autodesk removed BuiltInParameterGroup Enumeration and replaced with GroupTypeId Properties. you can use GroupTypeId Properties instead of Enumeration.

 

Reference Code

 

 BuiltInParameterGroup.PG_CONSTRAINTS ==> GroupTypeId.Constraints
 BuiltInParameterGroup.PG_CONSTRUCTION ==> GroupTypeId.Construction

 

 

Kindly check the below link for additional information regarding BuiltInParameterGroup Enumeration in Revit 2025
https://forums.autodesk.com/t5/revit-api-forum/get-a-list-of-parametergroups-in-r2025-api/td-p/12733... 

 

Hope this will helps 🙂


Mohamed Arshad K
Software Developer (CAD & BIM)