Table of Contents

Method Replace

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Replace(string, string)

New over a state of the name: the state replaced by the layers as they stand, its description by the one given and the properties it restores kept, as AutoCAD's New does once its question is answered Yes.

public bool Replace(string name, string description)

Parameters

name string

The name of the state replaced.

description string

The description.

Returns

bool

Whether it was saved; Message says why not.