2025.3 Method
Changes 0
M

IExportContext.OnElementBegin

Description:
This method marks the beginning of an element to be exported.
Remarks:
This method is never called for 2D export (see cref="Autodesk::Revit::DB::IExportContext2D").
RenderNodeAction OnElementBegin(
	ElementId elementId
)
  • elementId
    The Id of the element that is about to be processed.
Return Value RenderNodeAction Return RenderNodeAction.Skip if you wish to skip exporting this element, or return RenderNodeAction.Proceed otherwise.