IFCData Class

A specialized type of abstract data block that can represent any data type.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.IFCIFCData

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
 NameDescription
Public methodIFCData Creates a copy object.
Top
Properties
 NameDescription
Public propertyHasValue Identifies if the data is empty or contains a value.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyPrimitiveType The primitive data type.
Top
Methods
 NameDescription
Public methodAsAggregate Gets storage value as IFCAggregate when its PrimitiveType is aggregate.
Public methodAsBoolean Gets storage value as boolean when its PrimitiveType is boolean.
Public methodAsDouble Gets storage value as double when its PrimitiveType is double.
Public methodAsInstance Gets storage value as IFCAnyHandle when its PrimitiveType is instance.
Public methodAsInteger Gets storage value as integer when its PrimitiveType is integer.
Public methodAsLogical Gets storage value as IFCLogical when its PrimitiveType is logical.
Public methodAsString Gets storage value as string when its PrimitiveType is string, binary or enumeration.
Public methodStatic memberCreateBinary Creates a binary data object.
Public methodStatic memberCreateBoolean Creates a boolean data object.
Public methodStatic memberCreateBooleanOfType Creates a boolean data object of the specified type.
Public methodStatic memberCreateDouble Creates a double data object.
Public methodStatic memberCreateDoubleOfType Creates a double data object of the specified type.
Public methodStatic memberCreateEnumeration Creates a enum data object.
Public methodStatic memberCreateIFCAggregate Creates an IFCAggregate data object.
Public methodStatic memberCreateIFCAnyHandle Creates an IFCAnyHandle data object.
Public methodStatic memberCreateInteger Creates an integer data object.
Public methodStatic memberCreateIntegerOfType Creates an integer data object of the specified type.
Public methodStatic memberCreateLogical Creates a logical data object.
Public methodStatic memberCreateLogicalOfType Creates a logical data object of the specified type.
Public methodStatic memberCreateString Creates a string data object.
Public methodStatic memberCreateStringOfType Creates a string data object of the specified type.
Public methodDisposeReleases all resources used by the IFCData
Public methodEquals Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Gets the hash code.
(Overrides ObjectGetHashCode)
Public methodGetSimpleType Gets the IFC type name.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetTypeList Gets the multiple strings represent one IFC type name.
Public methodHasSimpleType Determines if there is one corresponding IFC type.
Public methodSetSimpleType Sets the corresponding IFC type by its name.
Public methodSetTypeList 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(IFCData, IFCData)Determines whether two IFCDatas are the same.
Public operatorStatic memberInequality(IFCData, IFCData)Determines whether two IFCDatas are different.
Top
See Also