RVTDocs.com
Namespace: Autodesk.Revit.DB Interface: IExportContext2D

IExportContext2D.OnElementBegin2D

Method
Description:
This method marks the beginning of an element to be exported.
Remarks:
For views having non-Wireframe display style, geometry of elements is output outside of view, instance and link begin/end brackets. Therefore the argument to this method is ElementNode that has both element ID and the host document.
Parameters
Parameter Type Description
node ElementNode Node representing the element that is about to start being exported. Contains element ID and document.
Return Value
Type Description
RenderNodeAction Return RenderNodeAction.Skip if you wish to skip exporting this element, or return RenderNodeAction.Proceed otherwise.