Revit 2026 API
IFCAny |
Determines whether the instance is an instance of the specified instance type or a subtype of this instance type.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsSubTypeOf( string typeName )
Public Function IsSubTypeOf ( typeName As String ) As Boolean
public: bool IsSubTypeOf( String^ typeName )
member IsSubTypeOf : typeName : string -> bool
Parameters
- typeName String
- The instance type name.
Return Value
BooleanTrue if the instance is an instance of the specified instance type or its subtype, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also