Table of Contents

Method AddCurrentDrawing

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

AddCurrentDrawing()

Adds the Model and the layouts of the drawing open, as the Publish dialog lists them when it opens: Model first and the layouts in the order of their tabs, each as the drawing's name and the space's joined by a hyphen (plan-level2-Model, plan-level2-Layout1), by IncludeModel and IncludeLayouts. A sheet the list has already is not added again.

public IReadOnlyList<CadPublishSheet> AddCurrentDrawing()

Returns

IReadOnlyList<CadPublishSheet>

The sheets added, in order; empty where there is no drawing open or all were listed.