Gets storage value as boolean when its PrimitiveType is boolean.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool AsBoolean()
Return Value
BooleanThe bool value.
Exceptions
| Exception | Condition |
|---|---|
| InapplicableDataException | The primitive type is not boolean. |
