PDA

View Full Version : Image Names and Paths



anovelli
2004-08-07, 01:24 AM
How do I get a list of all the Images in a drawing? For Each Image I need the name (as shown in the Image Manager) and the path to and name of the actual Image File.

Currently I can get the path to and actual Image file name but I can't figure out how to get the Image name that shows up in the Image Manager.Anyone know how to do this? Please let me know. Thanks!

stig.madsen
2004-08-07, 02:27 AM
Two ways. In ActiveX, the name can be retrieved directly as a property of the Raster object. Without the object model, the name only appears as the IMAGEDEF entry within the dictionary "ACAD_IMAGE_DICT".
There's a small article about accessing images here (http://www.afralisp.com/newsletter/2004/2004-19.htm).

anovelli
2004-08-09, 10:23 PM
Thanks! I will give this a shot.