Table of Contents

Method GetValue

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

GetValue(CadCommandSession)

Gets the value as SETVAR shows it in its angle brackets: a whole number as 4133, a real to four places as 1.0000 (an angle as 90), a text in quotes as "0", a point as 0.0000,0.0000,0.0000.

public string GetValue(CadCommandSession session)

Parameters

session CadCommandSession

The command line of the document whose value it is.

Returns

string

The text.

Exceptions

ArgumentNullException

Thrown when the session is null.