Hi
I wanted to see if anybody could shed some light on this.
I have been having a problem with parameter binding to a particular category through the API. This is the 'Support' category that is a child of 'Stairs'.
Through the UI, this simply is done by checking this box:
When you get the category from the element in Revit via RevitLookup it returns:
Category of BuiltInCategory.OST_StairsStringerCarriage with .AllowsBoundParameters = True
When you get the category via
Category.GetCategory(Doc, BuiltInCategory.OST_StairsStringerCarriage) it returns:
Category of BuiltInCategory.OST_StairsSupports with .AllowBoundParameters = False
This is preventing attaching parameters to the element via the API (as can be done in the UI).
Does anybody know if there is a way round this, or is this in the API by design or possibly a bug?
Any help would be greatly appreciated?
Many thanks.