Underline Tag Text

Underline Tag Text

Anonymous
Not applicable
1,591 Views
7 Replies
Message 1 of 8

Underline Tag Text

Anonymous
Not applicable
I am trying to create a custom tag that displays the name of the room with the length and width. So, I started with this:

ROOMOBJECTS:NAME
SPACEOBJECTS:LENGTH x SPACEOBJECTS:WIDTH

I want the name of the room to be underlined, so I tried this:

%%uROOMOBJECTS:NAME%%u

It works when I am editing the mvblock (it underlines "ROOMOBJECTS:NAME", but when I try inserting it into the space the tag does not recognize the room name.

Is there some other way to underline the room name text?

Thanks
0 Likes
1,592 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable
What version of ADT are you using? I believe the following would work in all versions, but there are some changes in 2007 that might cause issues. The "%" character does not appear on the list of forbidden characters in a List Definition, so I would think you would be allowed to include %%u in a List Definition value, if you are using those with the new Name automatic property in 2007, but I can not test that right now.

What you need is for the string value in your Name property to have the %%u in it, not the attribute definition tag name.

You could enter that manually, when you enter the room name.

You could set up a formula property to add the %%u to the front of your manually entered name, then use that property in your tag:
http://architects-desktop.blogspot.com/2005/12/underline-in-tag-but-not-in-schedule.html

You can also use a Property Data Format to include %%u as a prefix:
http://architects-desktop.blogspot.com/2006/02/underline-in-tag-but-not-in-schedule.html

Which method to use depends upon whether or not you will be using the room name in other settings where you do not want in underlined.

--

David Koch
Autodesk Discussion Group Facilitator
Using ADT 2004 at work; access to 2005, 2006 & 2007 at home
0 Likes
Message 3 of 8

Anonymous
Not applicable
Got it, thank you. I have not decided which option to pursue just yet, but I like having options.
0 Likes
Message 4 of 8

Anonymous
Not applicable
Oh, I almost forgot. We are using 2006.
0 Likes
Message 5 of 8

Anonymous
Not applicable
OK, now for the next question.

I went with a similar approach to the "underline tag but not in schedule." Then, I went to the style manager and set the definition on the default drawing template for the project.

Now, what is the fastest way to force the definition into all the already existing project files? Please tell me there is a way besides copy pasting definitions from the template to all the existing drawing files.
0 Likes
Message 6 of 8

Anonymous
Not applicable
When you say "project", do you mean and ADT Project, using Project Navigator, or do you mean a "project" in the non-CAD sense? If the former, as you are using ADT 2006, you could set up a Standards file for your project with the revised definitions and then synchronize the new definition with your existing drawings.

If the latter, short of a custom routine I am not capable of writing myself, you would need to update each drawing manually.

--

David Koch
Autodesk Discussion Group Facilitator
Using ADT 2004 at work; access to 2005, 2006 & 2007 at home
0 Likes
Message 7 of 8

Anonymous
Not applicable
I meant "project" in both senses, but specifically the project as it is set up in the Project Navigator.

I knew there had to be some way the definitions tied into the standards - I just never did it.

What about the mvblocks that are the new tags? They have new names and none of these new blocks exist in the other drawings. How will I automate getting these new blocks into the 50 or so existing drawing files?

Also, the font (style, or type, whatever?) has been set in the block itself. At first it was inserting properly, then it started coming in with a different font. I exploded the blocks to see what was happening and the revealed text was right. Any ideas?
0 Likes
Message 8 of 8

Anonymous
Not applicable
OK, so the tag is set to use the drawing text style (vs the style defined in the block).

Unfortunately, the dialog box to change it to "As defined by content" is grayed out and I am obviously not able to change it.

This is freakin annoying. Now I have to create a new block, and insert that new block into the template, then into the 50 or so existing drawings AGAIN.

Seeing as these tags are only for presentations, I should have just used photoshop.
0 Likes