PushExportState Method


Sets the internal state of the exporter to process the geometry and properties of the input element.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2012

Syntax

C#
public void PushExportState(
	Element Elem,
	GeometryElement GRep
)
Visual Basic
Public Sub PushExportState ( _
	Elem As Element, _
	GRep As GeometryElement _
)
Visual C++
public:
void PushExportState(
	Element^ Elem, 
	GeometryElement^ GRep
)

Parameters

Elem
Type: Autodesk.Revit.DB Element
The element.
GRep
Type: Autodesk.Revit.DB GeometryElement
The geometry of the element. Optional, can be a null reference ( Nothing in Visual Basic) .

Remarks

The element will be assigned until PopExportState() is called.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →