Jump to content

Recommended Posts

Posted

I'm trying to write a script that goes through all the blocks in a drawing file and changes the color settings to however I can't figure it out... Any help?

Posted
I'm trying to write a script that goes through all the blocks in a drawing file and changes the color settings to however I can't figure it out... Any help?

I got First ... there are many lisp files to do that...

 

Latest one from Gilles Chanteau does it.. including a lot more options... but the simplest one... is attached... I called it..

 

Bl02...It will change all blocks in the current drawing to bylayer... without any prompting at all..

 

Bl03... It will change all blocks to layer 0 in the current drawing.. .without prompting also

BL02.LSP

BL03.LSP

Posted

Wow! That is going to save me sooooo much time Thanks!

  • 3 years later...
Posted

Hi Gilsoto,

 

BL03 work with me but i need to develop a little bit to change all linetype except continuous line to hidden line with specific linetype scale?

 

Thanks.

Posted
Hi Gilsoto,

 

BL03 work with me but i need to develop a little bit to change all linetype except continuous line to hidden line with specific linetype scale?

 

Thanks.

 

I have not gone any further learning lisp since I posted it.... i cannot do that change you request with my current knowledge.... perhaps someone else can help you....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...