MR MAN Posted April 15, 2009 Posted April 15, 2009 I HAVE 50 ATTRIBUTE BLOCK ITS NAME W1 HOW CAN I CHANGE ALL ATTRIBUTE VALUES (TAG,PROMPT,DEFAULT)FOR ALL IN DRAWING ONCE . Quote
CmdrDuh Posted April 15, 2009 Posted April 15, 2009 are you wanting to change the values in the attributes or the tags prompts and defaults? If the latter, I would copy one instance, explode it, and start over. You are going to spend more time coding for 50 atts than it would take to fix it and be done. Quote
Lee Mac Posted April 15, 2009 Posted April 15, 2009 It could be done with LISP, but as Cmdrduh says, there would be a ton of cond statements to change these values for 50 attributes - the amount of blocks in the drawing doesn't cause a problem, it will perform the same for 100 blocks as it would for one - (only slightly slower!), but its the coding needed to input values for 50 attributes that would cause the problems. Quote
David Bethel Posted April 15, 2009 Posted April 15, 2009 I guess the questions are: Do you have 1 BLOCK named W1 with 50 ATTRIButes or the BLOCK W1 INSERTed 50 times? If you want to change the prompts, you must redefine the BLOCK ATTDEFs. For the ATTRIButes you must work with the INSERTS The tag names can be edited in either but only permanently changed with editing the BLOCK -David Quote
MR MAN Posted April 16, 2009 Author Posted April 16, 2009 iam sorry for late in replay first, it is just attribute called w1 and i copy it 50 times second, i need modify in its values,tags prompts and defaults thanks for help Quote
Lee Mac Posted April 16, 2009 Posted April 16, 2009 iam sorry for late in replayfirst, it is just attribute called w1 and i copy it 50 times second, i need modify in its values,tags prompts and defaults thanks for help So are you saying you copy the block with one attribute (W1) 50 times? Or that your block has 50 attributes? Quote
CmdrDuh Posted April 16, 2009 Posted April 16, 2009 I'm thinking 50 instances of 1 block. Use block editor and update what needs to be fixed, and run battman and synch Quote
MR MAN Posted April 18, 2009 Author Posted April 18, 2009 Dear Cmdrduh I Try What You Say But My Attribute Stay As It No Change HAPPEN Can You Please Explan More THANKS FOR HELP Quote
CAB Posted April 19, 2009 Posted April 19, 2009 Mr Man Please post a sample DWG file with your block in it. Quote
MR MAN Posted April 21, 2009 Author Posted April 21, 2009 there are 20 copied attribute which i need change them at same time 122.dwg Quote
NBC Posted April 21, 2009 Posted April 21, 2009 you would need to BEDIT, select the block, update your tags, prompts and defaults by using DDEDIT on each attribute. Once you are happy, use BSAVE, and then BCLOSE. Then use ATTSYNC, then S (for select), then select the block you wish to update, then Y (for Yes) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.