PDA

View Full Version : Attribute reactors


LLAW3224
2005-05-23, 11:43 PM
Is there a way to create a reactor that responds when attribute text is inputed. For example I have a block with multiple layers and I want it to thaw the appropriate layer according to what is inputed. If I input sp I want the speaker layer to thaw and if I input pd I want the plasma layer to thaw and keep the rest of the layers frozen. Is this possible through reactors?

RobertB
2005-05-24, 02:51 AM
Why use an attribute value to control this? I'm sure you have a reason, but this sure seems a convoluted way to perform layer control.

kennet.sjoberg
2005-05-26, 12:18 AM
Is there a way . . .
If You have a lisp program, say "pd" or "sp" and when You run it it ask You to select a legal block
then it puts the pd or sp text into a appropriate attribute and thaw the plasma or speaker layer.

Is that a substitute for a reactor ? or do You have a lot of components ?

: ) Happy Computing !

kennet

RobertB
2005-05-31, 11:48 PM
Actually, I think Kennet and I missed the forest for the trees. If you have multiple blocks in AutoCAD 2005 or earlier, then no, you cannot individually control the display of a layer within the block on a per-insertion basis. With AutoCAD's 2006 DBlocks, you can control each insertion's visibility using the Visibility parameter.

LLAW3224
2005-06-06, 06:08 PM
Yeah I was trying to create something like the dblocks. We still are working on 2005 :cry:. Thank you.

fixo
2005-06-07, 12:24 PM
If I correctly understood a question that
it is possible to try in this way
Please edit for your conditions
Sorry for may poor English
Thanx