Revit 2026 API
IFCDataAs |
Gets storage value as integer when its PrimitiveType is integer.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public int AsInteger()
Public Function AsInteger As Integer
public: int AsInteger()
member AsInteger : unit -> int
Return Value
Int32The int value.

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