|
Welcome, Guest.
|
||||||
| AutoLISP AutoLISP or Visual LISP, learn both here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
100 Club
Join Date: 2001-01
Posts: 120
![]() |
Hi Everyone-
I am trying to find a way to rename a layer inside a block upon insertion into a drawing. For example, I have several CMU blocks with cross hatching that I would like to place on a particular layer depending on who places it. As some of you may know, the architects want it one way and the engineers another. I know that I could generate two sets of blocks but that only solves the problem temporarily. Eventually, they will want to apply this practice yet to another group of blocks. Can I add a reactor to a block that would do this? Any help is greatly appreciated. Thanks. Manuel |
|
|
|
|
|
#2 |
|
Administrator
Join Date: 2001-08
Location: Seattle WA US
Posts: 4,393
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
No. Since you posted this here, I'm not going to launch into a discussion of block creation. But surely you know that a single block definition cannot have multiple insertions with different layers for items within the block itself.
|
|
|
|
|
|
#3 |
|
100 Club
Join Date: 2001-01
Posts: 120
![]() |
Hi
Yes, I am aware that an insert can only have one definition in a drawing. I guess what I am trying to do is modify the block definition so that all future inserts into the current drawing are identical. What I need help with is a routine that will find all occurences of a particular layer within a block definition and rename it to another name. Thanks. Manuel |
|
|
|
|
|
#4 |
|
Administrator
Join Date: 2001-03
Location: Fenton, MO via the UK
Posts: 13,500
![]() |
Hi
Check out the following Submission # EX001256 by Wes Stueve on the AUGI Exchange Page - AUGI Exchange Search Page Have a good one, Mike
__________________
|
|
|
|
|
|
#5 |
|
I could stop if I wanted to
Join Date: 2002-02
Location: Kansas
Posts: 462
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Way not just chagne the layer setting
then by useing layer states all you need to do is restore the layer state and the the block data will change |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mechanical Structure vs. Layer Groups - Your Input | chill | AutoCAD Mechanical - General | 12 | 2007-06-18 05:30 PM |
| Need Help Deleting "Named Layer Filters" | rabitsarchitects | AutoLISP | 19 | 2006-09-06 05:49 PM |
| Layer for Title Block and Border | paul.burgener | CAD Standards | 12 | 2004-10-09 06:02 AM |
| Scaling Points in Block | jcronburg | ACA General | 3 | 2004-06-10 07:21 PM |
| Grid Head / Grid lines on separate export layer | Griff | Revit Architecture - General | 1 | 2004-02-10 11:02 PM |