RVTDocs.com

ExporterIFC.Set2DContextHandle

Method
Description:
Sets the IfcRepresentationContext handle to be used for 2D entities (Annotations).
Syntax
[ObsoleteAttribute("This method is deprecated as of Revit 2025.  Use the .NET cache instead.")]
public void Set2DContextHandle(
	IFCAnyHandle contextHandle
)
Parameters
Parameter Type Description
contextHandle IFCAnyHandle The IfcRepresentationContext.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null