ade_dwgdeactivate

AutoCAD Map 3D AutoLISP

Up a level
ade_dwgdeactivate
 
 

Deactivates a drawing.

(ade_dwgdeactivate dwg_id)

Returns T or nil.

dwg_id Drawing ID (real)

This code deactivates all the drawings in the drawing set:

(foreach dwg_id (ade_dslist) (ade_dwgdeactivate dwg_id))

This code uses the mapcar function to deactivate the drawings in the drawing set.

(mapcar 'ade_dwgdeactivate (ade_dslist))