.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Replace Raster Image

1 REPLY 1
Reply
Message 1 of 2
artem.voskanian
446 Views, 1 Reply

Replace Raster Image

I know how to change the path of an existing Raster Image by creating a RasterImageDef wrapper and modify SourceFileName property. It works fine, but the actual image name, which I believe is tied to Dictionary entry key, does not change.

So after re-path, if you look into "File References" palette, you will see the old image name with new path.

How can I change the image name after changing the path?

BTW, I'm working with Acad2007

Thanks,
A
1 REPLY 1
Message 2 of 2

SetName method of DBDictionary object did the trick.

-A

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost