Table of Contents

Method Create

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Create(string, string, string)

Makes an empty sheet set and saves it, as AutoCAD's New Sheet Set.dst is: no template (so a new sheet asks for one), new sheets going to the folder of the .dst, one default view category, PDF publish options asking for a name. DbVersion is "1.1" and FileRevision 1.

public static CadSheetSetFile Create(string path, string name, string description = null)

Parameters

path string

The path of the .dst to make; the file must not be there, and its folder must.

name string

The name of the sheet set.

description string

The description, or null for none.

Returns

CadSheetSetFile

The file, as saved.

Exceptions

ArgumentNullException

Thrown when the path or the name is null.

IOException

Thrown when a file is already at the path.

ArgumentException

Thrown when the name or description holds a character a sheet set data file cannot hold.