Table of Contents

Class CadRenameRequest

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What RENAME gives its dialog: the kinds of named objects of AutoCAD 2021's Rename dialog, the names of each that can be renamed (layer 0, the Standard styles, ByLayer, ByBlock and Continuous left out, as AutoCAD lists them), and the renames the dialog asks for, made in order once it closes with OK, as one step of undo.

public sealed class CadRenameRequest
Inheritance
CadRenameRequest
Inherited Members

Properties

Document

Gets the document whose objects are renamed.

IsAccepted

Gets or sets whether the dialog closed with OK; the renames are made only then.

Kinds

Gets the kinds of named objects, as the Named Objects list writes them: Blocks, Dimension styles, Layers, Linetypes, Multileader styles, Table styles, Text styles, UCSs, Viewports and Views.

Renames

Gets the renames asked for, made in this order when the dialog closes with OK.

Methods

NamesOf(string)

Gets the names of a kind that can be renamed, sorted by their letters, either case the same.