Revit 2025.3 API
IFCDataAs |
Gets storage value as boolean when its PrimitiveType is boolean.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.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