Detach all reference image files from Autocad files

Detach all reference image files from Autocad files

Anonymous
Not applicable
666 Views
1 Reply
Message 1 of 2

Detach all reference image files from Autocad files

Anonymous
Not applicable

Hi, 

I want to remove all referenced image files from my AutoCAD files using an external application developed in vb.net. I am using Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common as reference in vb.net.

 

Also is it possible to add the image files without external references, I mean can image files embedded in AutoCAD file? How to do it using Interop? I am using AutoCAD Version 2018.

0 Likes
667 Views
1 Reply
Reply (1)
Message 2 of 2

Alexander.Rivilis
Mentor
Mentor

It is impossible to embed raster image to dwg-file with AutoCAD .NET API. It is possible with custom entity with help of ObjectARX: https://adndevblog.typepad.com/autocad/2015/04/embedding-an-image-in-a-drawing.html

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes