ade_dsproplist

AutoCAD Map 3D AutoLISP

Up a level
ade_dsproplist
 
 

Lists all values found in the drawing set for a given drawing property.

(ade_dsproplist property)

Returns a list of values or nil.

property Drawing property (string). See Drawing Properties below.

The function searches all active source drawings and returns a list of the values it finds for the given drawing property.

The following table shows property names and return values.

Drawing Properties
object_type AutoCAD object types (string)
blockname Block names (string)
linetype Line type names (string)
textstyle Text style names (string)
attrib Attribute name tags (string)
extents Computed extents: the lower-left and upper-right points in the set of active source drawings.
For example: ((2.20286 4.99866) (20.4689 12.3563))
group Group names (string)
layer Layer names (string)
lpn Link templates (string). Note that link path names (LPNs) have been replaced by link templates in AutoCAD Map.
objdata Names of object data tables. Table names can be up to 25 characters long (string). Must be unique, contain no spaces, and start with an alphanumeric character
mlinestyle Mline style (string)
feature Feature name (string)
lineweight Line weight (string)
plotstyle Plot style (string)

This code returns a list of layers in the drawing set.

(ade_dsproplist "layer")