Sunday, April 3, 2005

AutoCAD 2006 and image frames

AutoCAD 2006 made a change to the command IMAGEFRAME. Before it could be On or Off. To display and plot the images or not. Now there are three states 0, 1 or 2 so you can show the image but not having it plotted. This command is saving the value in the drawing in the dictionary ACAD_IMAGE_VARS. Observere that AutoCAD 2006 has three states now 0, 1 or 2 but the dictionary value is 0, 1 or 3 A simple way to retrieve the value is:
(defun imageframe ()
  (setq dict (dictsearch (namedobjdict) "ACAD_IMAGE_VARS"))
  (if (not dict) 
    (cdr (assoc 70 dict))

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.