RVTDocs.com
Namespace: Autodesk.Revit.DB Interface: 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.
Syntax
RenderNodeAction OnElementBegin2D(
	ElementNode node
)
Parameters
Parameter Type Description
node Autodesk.Revit.DB.ElementNode Node representing the element that is about to start being exported. Contains element ID and document.
Return Value
Type Description
IExportContext2D Interface Return RenderNodeAction.Skip if you wish to skip exporting this element, or return RenderNodeAction.Proceed otherwise.