2023 Class
Changes 5
C

IFCAnyHandle

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