Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change all block element to Layer 0 without changing color, linetype

25 REPLIES 25
SOLVED
Reply
Message 1 of 26
pixelarch
29426 Views, 25 Replies

Change all block element to Layer 0 without changing color, linetype

Dear All,

 

Please find the attached. I have too many blocks with specific layers inside.

 

Could you help me to develope lisp can change all to layer 0 but keep color and linetype as it is.

 

I will use this as a part of script to change multiple block.

 

Thanks

25 REPLIES 25
Message 21 of 26
Sujan.Maharjan
in reply to: Lee_Mac

Hi lee,
Can i have option to change the Colors/linetypes to By Block/By Layer?

"Revit Lies in the tension between what we want to do and what can be done!"
Message 22 of 26
kpblc2000
in reply to: Sujan.Maharjan

http://forum.dwg.ru/showthread.php?t=21492 (eng: https://translate.google.ru/translate?sl=ru&tl=en&js=y&prev=_t&hl=ru&ie=UTF-8&u=http%3A%2F%2Fforum.d... )

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


Алексей Кулик aka kpblc | Aleksei Kulik aka kpblc Facebook | LinkedIn
autolisp.ru
Техническая поддержка программистов Autodesk в СНГ
Библиотека пользовательских lisp-функций | Custom Lisp-function library

Message 23 of 26

This is great code!  Is there a way to make it so you can select an entire drawing and apply the routine to ALL blocks?

Message 24 of 26


@daviddangelantonio wrote:

....  Is there a way to make it so you can select an entire drawing and apply the routine to ALL blocks?


The link in Post 11 should do that for you.

Kent Cooper, AIA
Message 25 of 26
IB55
in reply to: Lee_Mac

Lee_Mac

I try to use your script but I am getting:

error: no function definition: LM:APPLYTOBLOCKOBJECTS

 

What I am doing wrong?

 

Your help is much appreciated

Message 26 of 26
Ranjit_Singh2
in reply to: IB55

You need to have LM:ApplytoBlockObjects loaded before running c:test. Go to his website and you can find the function there.

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

Post to forums  

Autodesk Design & Make Report

”Boost