ade_dslist

AutoCAD Map 3D AutoLISP

Up a level
ade_dslist
 
 

Lists the drawings attached to a given drawing.

(ade_dslist [dwg_id [nested]])

Returns a list of drawing IDs or nil.

dwg_id Drawing ID (real) or nil
nested Drawing is nested or not. Values: T or nil

If the dwg_id argument is omitted or nil, the function returns drawing IDs for the drawings attached to the project.

If you supply a nested argument other than nil, the function includes drawings that are directly attached and all nested drawings at every level below them. Otherwise, it includes only drawings that are directly attached.

(setq ds_ids (ade_dslist))