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

How to force reload linetypes from acad.lin

2 REPLIES 2
Reply
Message 1 of 3
e.g.
540 Views, 2 Replies

How to force reload linetypes from acad.lin

Hi, I have a bunch of drawings for which I have to reload the linetypes (they have to be redefined, for example pneumatic line has a new definition but the drawing has an older one). Is there a way other than rename the old linetypes, then load the newer version, then iterate through all objects and change the linetype to the newer version?

 

Thanks,

 

e.g.

2 REPLIES 2
Message 2 of 3
Alexander.Rivilis
in reply to: e.g.

You can use Database.LoadLineTypeFile method to load/reload linetypes and then Editor.Regen 

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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

Message 3 of 3
e.g.
in reply to: e.g.

Thank you very much.

 

e.g.

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