Table of Contents

Property VersionGuid

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

VersionGuid

Gets or sets the identity of the drawing as last saved ($VERSIONGUID), as AutoCAD's VersionGuid: a GUID AutoCAD gives the drawing anew each time it saves it; read as the header writes it, the GUID of noughts where it gives none.

public string VersionGuid { get; set; }

Property Value

string

Set, a GUID in any form TryParse(string, out Guid) reads, written in braces and capitals as AutoCAD writes one.

Exceptions

ArgumentNullException

Thrown when the text set is null.

ArgumentException

Thrown when the text set is not a GUID.

InvalidOperationException

Thrown when set in a file older than R2000 (AC1015), which has no such variable.