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