Checks whether the element type id is valid for the give DefaultElmentType id.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool IsDefaultElementTypeIdValid(
ElementTypeGroup defaultTypeId,
ElementId typeId
)
Parameters
- defaultTypeId ElementTypeGroup
-
The default element type id.
- typeId ElementId
-
The element type id.
Return Value
Boolean
True if the element type id is valid for the give DefaultElmentType id, false otherwise.
Exceptions
See Also
Reference