Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing attribute in 2 or more places

Status
Not open for further replies.

djavon

Mechanical
May 15, 2001
6
Is it possible to define a single attribute and have it appear more than one place on the block. I have a title block that has Drawing name at both the top & bottom right corners but I only wish to type it in once and have both reflect a new value if one changes.
 
Replies continue below

Recommended for you

I don't think you can do that without some programming.
I can help with the lisp routine if you need it.
bc.ied@whitemtns.com
 
If I'm not mistaken, by doing this with a program, you would still end up with 2 seperate attributes. This could allow one of the attributes to be changed at a later time without the other, resulting in "out of sync" attributes. What I was going for is having the same attribute value with the same defining tag appearing in two seperate places on a block. Maybe this is one for a future feature request. Any others interested in such a feature addition?
 
The several different factors in the attributes
will not allow for this process. As you know,
the attibutes contain text styles, rotation angles,
and insertion points, etc. To create one item
to fill in two spaces is like trying to make two
seperate particles occupy the same space. A
lisp, with dialogue boxes, and vba programming all provide
many methods for filling out a title block much faster.
 
AutoCAD's attedit command does this without any lisp/VBA.
I think to much is being read into the original question, which was:
Can a single attribute value (e.g. Drawing Name) be displayed in more than one place within the same block without defining another attribute with the same value?

The only difference between the two attributes in this example are the locations at which they are to be displayed. With a block, you can define it once & display in multiple locations. When the block is re-defined, all instances take the new definition, but this doesn't seem to be possible with attributes unless I'm missing something.

When using attribute values with a program outside of AutoCAD, I want the number of defined attributes within the drawing to be at a minimum.
 
Simply stated:

Can I change attributes in a block the same way I can redefine all blocks at one time.
 
Ok...... everybody listen up..... it is entirely possible to have a single attribute defined in a block and have that single attribute visible in multiple places, without the need for a special program. It is done using MINSERT and inserting the block in the grid you want. Of course it requires that the attribute is aligned vertically and horizontally.....unless you define the attribute to be angled, insert the attributed block at the complementary angle of the attribute text. When prompted for the number of rows, enter 2, then enter 1 for the number of columns. It will require a bit of preplanning, but it will work great. You can then modify both instances of the attribute with a single attedit, regardless or which attribute you edit, both will change. If anyone is interested in seeing this in action send an email to lisper@bcinc.hypermart.net and I will forward a copy of the block to you to insert until your heart is content, as well as instructions on how to create such a monster.....
 
Striker provides a good work around...but his solution shows multiple instances of a "block containing the attribute", not multiple instances of "an attribute within a single block" which doesnt seem to be possible. I can use former though.
thanx to all for the input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor