Revit 2025.3 API
SubelementGet |
Obtains a set of types that are valid for this subelement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ISet<ElementId> GetValidTypes()
Public Function GetValidTypes As ISet(Of ElementId)
public: ISet<ElementId^>^ GetValidTypes()
member GetValidTypes : unit -> ISet<ElementId>
Return Value
ISetElementIdA set of element IDs of types that are valid for this subelement or an empty set if subelement cannot have type assigned.
A type is valid for a subelement if it can be assigned to the subelement.
See Also