The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Block line colors

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
scottabray Posted - June 30 2008 : 2:22:30 PM
Without exploding a block, is there a line of code I can put into my background process to change all lines IN all blocks to "by layer"?
6   L A T E S T    R E P L I E S    (Newest First)
n/a Posted - July 01 2008 : 5:15:46 PM
I'm sorry, Scott. I don't think there is any way to do what you want to do without the availability of programming languages such as AutoLisp or VBA, etc. I guess that's why they charge a fortune for the full version.
scottabray Posted - July 01 2008 : 5:01:43 PM
Steve, your description sounds like the result that I want, but unfortunately I'm in LT07. I would like to add this functionality to my existing scr. Our procedure is to take the architect backgrounds, purge, change all layers to color 8 and save. But when a line inside the block is set to a specific color, that overides what the block layer color is.

Here is our scr, one of our other cad guys wrote most of it, I've added a few things to it too.

Scott

Download Attachment: Proc-bg.txt
646 Bytes
n/a Posted - July 01 2008 : 08:51:30 AM
This one should just do lines.

Download Attachment: BlkLineColor2Bylayer.zip
1.17 KB
n/a Posted - June 30 2008 : 5:56:53 PM
OOPS !! I forgot to change the program name within the lisp file. This one will match the program name to the file name, so it makes more sense.

Download Attachment: BlkColor2Bylayer.zip
1.09 KB
n/a Posted - June 30 2008 : 5:52:02 PM
Bill,
The attached file should come close to proving you wrong. The only problem is, I think it will change all entities within the block to bylayer. I'm hoping that is what the requester really wanted, but I'm afraid he may have only wanted to change LINE entities, in which case the routine will need to be revised. I don't think I'm going to have time to do anything more with it, however.

Download Attachment: BlkColor2Bylayer.zip
1.09 KB
Admin Posted - June 30 2008 : 5:04:13 PM
I don't think so. Without exploding the block upon insertion (use "*BLOCKNAME"), there isn't a way to manipulate the block at all.

I'd love it if someone proves me wrong though!

Regards,
Bill

The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000