Table of Contents

Method Plan

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Plan(string, string)

Works out what to place: the named view of a resource drawing, or where no view is named the box of everything in the drawing's model space.

public static CadPlaceOnSheetPlan Plan(string drawingFile, string viewName)

Parameters

drawingFile string

The resource drawing.

viewName string

The name of the view; null for the whole of model space.

Returns

CadPlaceOnSheetPlan

What is to be placed.

Exceptions

ArgumentNullException

Thrown when the file is null.

IOException

Thrown when the drawing cannot be read.

FormatException

Thrown when the drawing is a file that cannot be read.

InvalidOperationException

Thrown when the drawing has no such view, or nothing in model space to place.