Jump to content

Recommended Posts

Posted

I HAVE 50 ATTRIBUTE BLOCK ITS NAME W1 HOW CAN I CHANGE ALL ATTRIBUTE VALUES (TAG,PROMPT,DEFAULT)FOR ALL IN DRAWING ONCE .

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted
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

 

So are you saying you copy the block with one attribute (W1) 50 times?

 

Or that your block has 50 attributes?

Posted

I'm thinking 50 instances of 1 block. Use block editor and update what needs to be fixed, and run battman and synch

Posted

Dear Cmdrduh I Try What You Say But My Attribute Stay As It No Change HAPPEN Can You Please Explan More

 

 

THANKS FOR HELP

Posted

Mr Man

Please post a sample DWG file with your block in it.

Posted

there are 20 copied attribute which i need change them at same time

122.dwg

Posted

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)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...