Category.GetBuiltInCategoryDisciplines
Description:
Get the ForgeTypeId identifier for each discipline for the given built-in category.
Get the ForgeTypeId identifier for each discipline for the given built-in category.
Remarks:
The returned list contains one or more identifiers of disciplines that can be compared with [!:Autodesk::Revit::DB::DisciplineTypeId]. The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).
The returned list contains one or more identifiers of disciplines that can be compared with [!:Autodesk::Revit::DB::DisciplineTypeId]. The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).
public static IList<ForgeTypeId> GetBuiltInCategoryDisciplines(
BuiltInCategory categoryId
)
-
categoryIdThe built-in category.
-
categoryId is not a valid built-in category. See Category.IsBuiltInCategoryValid(BuiltInCategory).