Skip to content

IFCAnyHandle

Public Class

A handle representing an item in an IFC file.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.IFC.IFCAnyHandle

Namespace: Autodesk.Revit.DB.IFC

Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class IFCAnyHandle : IDisposable

The IFCAnyHandle type exposes the following members.

Properties

Name

Description


Public Property

Identifies if the handle is empty or contains a value.


Public Property

The integer identifier for the handle.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The step id of the handle. Valid only for import.


Public Property

The name of the type of the handle.


Methods

Name

Description


Public Method

Creates an attribute that is an aggregate. TODO: Rename to createAggregateByRef


Public Method

Deletes the handle.


Public Method

Releases all resources used by the IFCAnyHandle


Public Method

Determines whether the specified Object is equal to the current Object.
(Overrides Object.Equals(Object))


Public Method

Gets the attribute by name.


Public Method

Gets the integer value of the id as hash code
(Overrides Object.GetHashCode.)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Determines whether the instance is an instance of the specified instance type or a subtype of this instance type.


Public Method

Determines whether the instance is an instance of exactly the specified instance type.


Public Method

Sets the attribute value.


Public Method

Sets the attribute value.


Public Method

Sets the attribute value.


Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Sets the attribute value.


Public Method

Sets the attribute value.


Public Method

Sets the attribute value.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Public Method

Unsets the attribute value.


Operators

Name

Description


Public Operator
Static Member
Equality(IFCAnyHandle, IFCAnyHandle)

Determines whether two IFCAnyHandles are the same.


Public Operator
Static Member
Inequality(IFCAnyHandle, IFCAnyHandle)

Determines whether two IFCAnyHandles are different.


Remarks

Handles are used to populate each line item in an IFC file. Each handle is assigned a unique identifier (an integer) which can be seen in the file contents at the start of the line.