<Code Lib>
2023 Interface
Changes 0
I

IExportContextBase

Description:
An interface that as common base for IModelExportContext and IExportContext2D.

public interface IExportContextBase : IExportContext

Name Return Type Description
M OnCurve(CurveNode) RenderNodeAction This method is called when a Curve is being output.
M OnLineSegment(LineSegment) None This method is called after unhandled curve was tessellated to line segments and sent to the output. Note for 2D export: if the export is performed for the view in non-Wireframe display style, then this method is called outside of view, instance and link begin/end calls but still between OnElementBegin2D/OnElementEnd2D calls this method is never called for annotation elements, i.e. their geometry should be processed in methods OnCurve and OnPolyline
M OnPolyline(PolylineNode) RenderNodeAction This method is called when a Polyline is being output.
M OnPolylineSegments(PolylineSegments) None This method is called after unhandled curve was tessellated to polyline segments and sent to the output. Note for 2D export: if the export is performed for the view in non-Wireframe display style, then this method is called outside of view, instance and link begin/end calls but still between OnElementBegin2D/OnElementEnd2D calls this method is never called for annotation elements, i.e. their geometry should be processed in methods OnCurve and OnPolyline
M OnText(TextNode) None This method is called when a text annotation object is being output.

Loading…