Table of Contents

Method Rename

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Rename(string, string)

Renames a named system, as the UCS dialog does; a current system of that name takes the new one.

public bool Rename(string name, string newName)

Parameters

name string

The name, letters of either case the same.

newName string

The new name.

Returns

bool

False where there is no system of the name.

Exceptions

ArgumentNullException

Thrown when the new name is null.

ArgumentException

Thrown when the new name is one AutoCAD does not take, or another system's.