Table of Contents

Property PathName

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

PathName

Gets or sets the path of the drawing an external reference comes from (group 1 of its BLOCK), as AutoCAD's PathName; empty for a block that is none.

public string PathName { get; set; }

Property Value

string

Set, written as the BLOCK's 1 in place of the path it had, as AutoCAD's -XREF Path writes the new one: the reference column.dxf given ..\xref\column.dxf names that from then on. The path it has changes nothing.

Exceptions

ArgumentNullException

Thrown when the path set is null.

ArgumentException

Thrown when the path set is blank or has a line break in it.

InvalidOperationException

Thrown when set on a block that is no external reference.