Table of Contents

Method FromPath

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

FromPath(string, string)

Makes the reference the writer makes for a path: the absolute form and the form relative to the .dst. A path on another drive than the .dst has no relative form.

public static CadFileReference FromPath(string path, string setFolder)

Parameters

path string

The path of the file or folder.

setFolder string

The folder of the .dst.

Returns

CadFileReference

The reference.

Exceptions

ArgumentNullException

Thrown when the path or the folder is null.

ArgumentException

Thrown when the path or the folder is empty.