hi ,
i have 4 text string in my attribute block and i wanna assign some formules some of them ..
i wrote one example belowe
1th text string [ A ] ; 500
2nd text string [ B ] will be ; [ A ] +1250
3th text string [ C ] will be : [ B ] / 2
4th text string [ D ] will be : [ B ] + [ C ]
all strings will change when i change to 1th string
somebody can write me a routine code for this example ?
Solved! Go to Solution.
Solved by 3wood. Go to Solution.
Solved by phanaem. Go to Solution.
Insert your block.
Double click to edit attributes
In "Value" field, right click and pick "Insert Field..."
From "Field names", pick "Formula"
Type in your formula; when you want to insert another att value, right clik again (in formula field) and pick "Insert Field.."
From the new dialog, pick "objects", select your block, select attribute name from list, press OK on every dialog box.
Repeat for every attribute.
You may need to regen dwg several times to make sure avery field display the correct value.
You have to do this everytime you insert a new block, but if you copy a block these settings are keept.
See attachment.
Please try attached block example.
You only need REGEN or UPDATEFIELD once after changing the first attribute value