Rename method [AEC base objects]

AEC Auto

Rename Method

Renames an item in an AecDictionary.

See Also | Example

Signature

RetVal = object.Rename(OrigName, NewName)

Object

AecDictionary, AecLayerKeyStyles, AecMaskBlockStyles, AecMassElementStyles, AecMVBlockStyles, AecPolygonStyles, AecProfileStyles
The object this method applies to.

OrigName

String; input-only
The original name of the item.

NewName

String; input-only
The new name of the item.

Remarks

Objects will maintain their reference to a style even if it has been renamed.