Jump to content

Change Block Attribute: Tag/Prompt/Value


Recommended Posts

Posted

I have a bunch of different blocks in a file that all have a couple attributes in common. What I want to do is make all the Tags, Prompts, and Values the same for all these attributes within all the blocks. Aside from using the BATTMAN command, anyone know of an easy way to do this that does not require me to go into each block and change it?

Posted

I'm not quite sure of your question.

 

Do you have a drawing with (say) 5 blocks with various attributes. You want 5 blocks each with identical sets of attributes. If each of these blocks contains (say) 3 attributes you want them to have identical attributes for each position.

 

The first thing to say is I can't do it today (or in the immediate future) but it should be relatively easy to do in LISP. Whether that is easier than using BATTMAN is another matter though.

Posted

Specifically,

I have about 15-20 blocks in a drawing. All these blocks are named differently, and have different functions, but they all have a couple things in common. Each one needs to have an attribute for:

What panel the device is located on. [Panel]

Where on the panel the device is located. [Device_Location]

Extra lines for descriptions of the device. [Desc1], [Desc2], [Desc3], ...

I have made all the blocks with these Tag names, which are the braceted names above. I need the Prompt to be "Panel" and the Value to be "#P" for all the Tag name [Panel] attributes in all the blocks. I want to do the same thing with all the other attributes.

 

This is kinda hard for me to explain. Does this make sense? I guess I need a way to give a Tag name to look for and to populate a given line of text for the Prompt and Value for all blocks that have that Tag name for an attribute.

Posted

If you select the blocks the tag that they have in common should show up in your (quick)properties window, then you can select it there and change all the values at the same time.

The prompts you'll have to change in the blockeditor i'm afraid.

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...