Revit 2026 API
IFCDataAs |
Gets storage value as boolean when its PrimitiveType is boolean.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool AsBoolean()
Public Function AsBoolean As Boolean
public: bool AsBoolean()
member AsBoolean : unit -> bool
Return Value
BooleanThe bool value.

Exception | Condition |
---|---|
InapplicableDataException | The primitive type is not boolean. |
See Also