PDA

View Full Version : Change Attribute value via lookup table ?



ems2526
2007-05-10, 07:18 PM
Hi,
I am rookie trying to learn this dynamic block thing.

What I am trying to learn about DB's capability is whether a DB like a the roomtag.dwg DB made by jpduhon, can have the attribute value picked through the use of a lookup table? The steps I would like to take to do this if I could are,
1. Insert DB
2. Strech, flip, and place the leader (when leader visability is used)
3. Pick each attribute (top line, bottom line, and Rm no.)
4. With each pick of attribute have a drop down list (lookup table I think) and
pick a new entry value for that attribute.
I have to insert many equipment labels on to drawings which would have similar look as
the roomteg DB just different attributes values. The labels that I insert have mostly the
same attribute values from one drawing to the next, ie. office, conf., 0001,0002, etc. It
would be great to insert them and pick the attribute values off a list than type the all
each time.
It appears to me that the parameters and actions drive the lookup table entries, i would like to have the lookup tables that could drive the attribute value. Just a guess.

If this is a possible thing to do w/ DB's I would really appreciate any and all help I could get.
If my discription does not seem clear please let me know and I'll try to explain more.

Thanks,
ems2526

Mr Cory
2007-05-10, 08:35 PM
Heres one i prepared earlier ;)

Just change the values in the lookup action :)

ems2526
2007-05-11, 06:26 PM
Thanks - Mr Cory
i'll give it a try.
For the lookup table can the entry values be imported from a text file? Where and what kind of file is he lookup table?
For the attribute you have for the room name, What (lookup parameter, lookup action, lookup grip) would I just copy to have more attributes visible on the block? My existing equipment tag blocks have 3 attributes,
1 for Equip. ID number where you have room name, 2 above box for equip. name (some times 1 line some times 2 lines). If the block only needs one entry line above, I would want the 2nd entry line above the first to remain blank or invisible.
Not knowing the process to well I hope my questions make sense.

As a side question what makes some text I see on DB;s have a background color and some do not.

Thanks again for your help,

ems2526

Chris.N
2007-05-11, 06:32 PM
Thanks - Mr Cory
i'll give it a try.
For the lookup table can the entry values be imported from a text file? Where and what kind of file is he lookup table?
For the attribute you have for the room name, What (lookup parameter, lookup action, lookup grip) would I just copy to have more attributes visible on the block? My existing equipment tag blocks have 3 attributes,
1 for Equip. ID number where you have room name, 2 above box for equip. name (some times 1 line some times 2 lines). If the block only needs one entry line above, I would want the 2nd entry line above the first to remain blank or invisible.
Not knowing the process to well I hope my questions make sense.

As a side question what makes some text I see on DB;s have a background color and some do not.

Thanks again for your help,

ems2526for the 1 vs. 2 line problem, (for room tags anyway) what i did to solve the problem when extracting to table was have an invisible attribute that contained what i wanted the table to read for the label's contents. this way i could also abbreviate what was on the tag, but have the full name in the schedule.

the grey 'highlighted' text in attributes are fields. don't erase them! (unless you know what you're erasing) ;)

Mr Cory
2007-05-13, 09:04 PM
Couldnt have put it better myself, Thats a good idea about the two line problem