Table of Contents

Method RunCommand

Namespace
OpenCAD2D.Lisp
Assembly
OpenCAD2D.Core.dll

RunCommand(string)

Runs the command C:NAME with no arguments, as the command line does when its name is typed. A function that takes arguments gives too few arguments.

public LispResult RunCommand(string name)

Parameters

name string

The name without C:, in either case.

Returns

LispResult

The value and the command-line text, as for Run(string).

Exceptions

ArgumentNullException

Thrown when the name is null.