Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-06-18, 03:10 AM   #1
cadconcepts
100 Club
 
Join Date: 2001-01
Posts: 120
cadconcepts is starting their journey
Default Adding layer intelligence to a Block

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
cadconcepts is offline   Reply With Quote
Old 2004-06-19, 08:41 PM   #2
RobertB
Administrator
 
RobertB's Avatar
 
Join Date: 2001-08
Location: Seattle WA US
Posts: 4,393
RobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the starsRobertB is shooting for the stars
Default RE: Adding layer intelligence to a Block

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.
RobertB is offline   Reply With Quote
Old 2004-06-21, 05:45 PM   #3
cadconcepts
100 Club
 
Join Date: 2001-01
Posts: 120
cadconcepts is starting their journey
Default RE: Adding layer intelligence to a Block

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
cadconcepts is offline   Reply With Quote
Old 2004-06-21, 06:08 PM   #4
Mike.Perry
Administrator
 
Mike.Perry's Avatar
 
Join Date: 2001-03
Location: Fenton, MO via the UK
Posts: 13,500
Mike.Perry has disabled reputation
Default RE: Adding layer intelligence to a Block

Hi

Check out the following Submission # EX001256 by Wes Stueve on the AUGI Exchange Page -

AUGI Exchange Search Page

Have a good one, Mike

__________________
..........MeWhee
Mike.Perry is offline   Reply With Quote
Old 2004-06-22, 07:56 PM   #5
jwanstaett
I could stop if I wanted to
 
Join Date: 2002-02
Location: Kansas
Posts: 462
jwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of lightjwanstaett is a beam of light
Default RE: Adding layer intelligence to a Block

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
jwanstaett is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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


All times are GMT +1. The time now is 10:38 AM.