IFCAnyHandle
Description:
A handle representing an item in an IFC file.
A handle representing an item in an IFC file.
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.
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.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.IFC.IFCAnyHandle
System.Object
Autodesk.Revit.DB.IFC.IFCAnyHandle
public class IFCAnyHandle : IDisposable
| Name | Return Type | Description |
|---|---|---|
| CreateAggregateAttribute(String) | The aggregate. | Creates an attribute that is an aggregate. TODO: Rename to createAggregateByRef |
| Delete() | None | Deletes the handle. |
| Dispose() | None | Releases all resources used by the |
| op_Equality(IFCAnyHandle, IFCAnyHandle) | bool | Determines whether two IFCAnyHandles are the same. |
| Equals(Object) | bool | Determines whether the specified is equal to the current . |
| GetAttribute(String) | The value. | Gets the attribute by name. |
| GetHashCode() | int | Gets the integer value of the id as hash code |
| op_Inequality(IFCAnyHandle, IFCAnyHandle) | bool | Determines whether two IFCAnyHandles are different. |
| IsSubTypeOf(String) | bool | Determines whether the instance is an instance of the specified instance type or a subtype of this instance type. |
| IsTypeOf(String) | bool | Determines whether the instance is an instance of exactly the specified instance type. |
| SetAttribute(String, Boolean) | None | Sets the attribute value. |
| SetAttribute(String, Double) | None | Sets the attribute value. |
| SetAttribute(String, IFCAnyHandle) | None | Sets the attribute value. |
| SetAttribute(String, IFCData) | None | Sets the attribute value. |
| SetAttribute(String, IList<Boolean>) | None | |
| SetAttribute(String, IList<Double>) | None | |
| SetAttribute(String, IList<IFCAnyHandle>) | None | |
| SetAttribute(String, IList<Int32>) | None | |
| SetAttribute(String, IList<String>) | None | |
| SetAttribute(String, Int32) | None | Sets the attribute value. |
| SetAttribute(String, ISet<Boolean>) | None | |
| SetAttribute(String, ISet<Double>) | None | |
| SetAttribute(String, ISet<IFCAnyHandle>) | None | |
| SetAttribute(String, ISet<Int32>) | None | |
| SetAttribute(String, ISet<String>) | None | |
| SetAttribute(String, String) | None | Sets the attribute value. |
| UnsetAttribute(String) | None | Unsets the attribute value. |
| Unset() | None | This method is deprecated in Revit 2023 and must no longer be part of public API. It should be called by internals of Toolkit wrapper only. |
| Name | Return Type | Description |
|---|---|---|
| HasValue | bool | Identifies if the handle is empty or contains a value. |
| Id | int | The integer identifier for the handle. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| StepId | int | The step id of the handle. Valid only for import. |
| TypeName | string | The name of the type of the handle. |