Gets the drawing ID of a drawing.
(ade_dwggetid dwg_pathname)
Returns a drawing ID (real) or nil.
dwg_pathname | Path alias and drawing file name (string) |
Code example:
(ade_aliasadd "mydwgs" "d:\\myproject\\mydrawing") (setq dwg_id (ade_dwggetid "mydwgs:\\mydrawing.dwg"))