AutoCAD 2012 帮助
 
Work with Named Objects
 
 
 

In addition to the graphical objects used by AutoCAD, there are several types of nongraphical objects stored in a drawing database. These objects have descriptive designations associated with them. For example, blocks, layers, groups, and dimension styles all have a name assigned to them and in most cases can be renamed. The names of symbol table records are displayed in the user interface of AutoCAD, while the object id of an object is used to reference the object in most cases throughout the .NET API.

For example, the object id of a LayerTableRecord object is assigned to a graphical object’s Layer property and not the actual name that is assigned to the LayerTableRecord. However, the object id of a LayerTableRecord object can be obtained from the Layer table using the name of the layer you want to access.


Edit Named and 2D Objects
Work with Named Objects
Purge Unreferenced Named Objects
Rename Objects
Erase Objects
Copy Objects
Offset Objects
Transform Objects
Array Objects
Extend and Trim Objects
Explode Objects
Edit Polylines
Edit Splines
Edit Hatches