• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Methods > Delete Method 

Delete Method

Delete Method

Delete method

Deletes a specified object, such as a drawing entity or a block, layer, or linetype.

Syntax

object.Delete

Where:

     object is the name of the object to be deleted. The object may be one of the following:

Any Drawing Entity, Block, Group, Layer, Linetype, Pviewport, SelectionSet, Shape, TextStyle, UCS, View, Viewport.

Delete method example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.