IFCData
A specialized type of abstract data block that can represent any data type.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.IFC.IFCData
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IFCData : IDisposable
The IFCData type exposes the following members.
Constructors
Name
Description
Public Method
IFCData
Creates a copy object.
Properties
Name
Description
Public Property
HasValue
Identifies if the data is empty or contains a value.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
PrimitiveType
The primitive data type.
Methods
Name
Description
Public Method
AsAggregate
Gets storage value as IFCAggregate when its PrimitiveType is aggregate.
Public Method
AsBoolean
Gets storage value as boolean when its PrimitiveType is boolean.
Public Method
AsDouble
Gets storage value as double when its PrimitiveType is double.
Public Method
AsInstance
Gets storage value as IFCAnyHandle when its PrimitiveType is instance.
Public Method
AsInteger
Gets storage value as integer when its PrimitiveType is integer.
Public Method
AsLogical
Gets storage value as IFCLogical when its PrimitiveType is logical.
Public Method
AsString
Gets storage value as string when its PrimitiveType is string, binary or enumeration.
Public Method
Static Member
CreateBinary
Creates a binary data object.
Public Method
Static Member
CreateBoolean
Creates a boolean data object.
Public Method
Static Member
CreateBooleanOfType
Creates a boolean data object of the specified type.
Public Method
Static Member
CreateDouble
Creates a double data object.
Public Method
Static Member
CreateDoubleOfType
Creates a double data object of the specified type.
Public Method
Static Member
CreateEnumeration
Creates a enum data object.
Public Method
Static Member
CreateIFCAggregate
Creates an IFCAggregate data object.
Public Method
Static Member
CreateIFCAnyHandle
Creates an IFCAnyHandle data object.
Public Method
Static Member
CreateInteger
Creates an integer data object.
Public Method
Static Member
CreateIntegerOfType
Creates an integer data object of the specified type.
Public Method
Static Member
CreateLogical
Creates a logical data object.
Public Method
Static Member
CreateLogicalOfType
Creates a logical data object of the specified type.
Public Method
Static Member
CreateString
Creates a string data object.
Public Method
Static Member
CreateStringOfType
Creates a string data object of the specified type.
Public Method
Dispose
Releases all resources used by the IFCData
Public Method
Equals
Determines whether the specified Object is equal to the current Object.
(Overrides Object.Equals(Object))
Public Method
GetHashCode
Gets the hash code.
(Overrides Object.GetHashCode.)
Public Method
GetSimpleType
Gets the IFC type name.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
GetTypeList
Gets the multiple strings represent one IFC type name.
Public Method
HasSimpleType
Determines if there is one corresponding IFC type.
Public Method
SetSimpleType
Sets the corresponding IFC type by its name.
Public Method
SetTypeList
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Operators
Name
Description
Public Operator
Static Member
Equality(IFCData, IFCData)
Determines whether two IFCDatas are the same.
Public Operator
Static Member
Inequality(IFCData, IFCData)
Determines whether two IFCDatas are different.