Remove Method [AEC base objects]

AEC Auto

Remove Method

Removes an item from a collection.

See Also | Example

Signatures: Overview

AecDictionary,
Layer Key Styles,
Mask Block Styles,
Mass Element Styles,
Multi-view Block Styles,
Polygon Styles,
Profile Styles

collection.Remove(Name)

Layer Keys,
Rings

collection.Remove(Index)

ViewBlockDefs

collection.Remove(AcadBlock)

Signatures: Detail

object.Remove (Name)

object

AecDictionary, AecLayerKeyStyles, AecMaskBlockStyles, AecMassElementStyles, AecMVBlockStyles, AecPolygonStyles, AecProfileStyles, AecDisplayRepresentations, AecViewBlockDefs
The collection this method applies to.

Name

String; input-only
The name of the item to be removed.


object.Remove (Index)

object

AecLayerKeys, AecRings
The collection this method applies to.

Index

Long; input-only
The index number value of the item to remove from the collection.


object.Remove(AcadBlock)

object

AecViewBlockDefs
The collection you are removing a block from.

AcadBlock

AcadBlock object; input-only
The block to remove from the collection.