Suffix for Window Tags

Suffix for Window Tags

heather_o
Enthusiast Enthusiast
580 Views
3 Replies
Message 1 of 4

Suffix for Window Tags

heather_o
Enthusiast
Enthusiast

I have created a custom window tag that shows the header height.  Is it possible to place a suffix of "H.H." behind the tag?  for ex. 6'-8" H.H.

I'm using Autodesk Architecture 2019

heather_o_0-1666180735828.png

 

0 Likes
Accepted solutions (1)
581 Views
3 Replies
Replies (3)
Message 2 of 4

pendean
Community Legend
Community Legend

Looks like you forgot to attached/include your multi-view block from the other post
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/suffix-for-window-tag/m-p/11488619#M...

 

You want to add the Head Height abbreviation here in your window style, correct?

pendean_0-1666185059656.png

 

0 Likes
Message 3 of 4

heather_o
Enthusiast
Enthusiast

So sorry, glad you found the example 🙂

Yes, How do I add the H.H. suffix to the head height 

0 Likes
Message 4 of 4

David_W_Koch
Mentor
Mentor
Accepted solution

@heather_o 

 

First, thanks to @pendean for the link to the other thread with the sample file.

 

You could just add static text to the Window Tag's view block, making the attribute that shows the HeadHeight property right justified and nudging it over a bit.  You will not be able to do that so that the head height in the tag is always centered, which would not be acceptable to me.  The approach I would take would be to add a formula property to the WindowObjects property set, called HeadHeightForTag, perhaps, with this as the formula:

 

 

RESULT = "[HeadHeight]" & " H.H."

 

 

Snag_3482c4a.png

 

In the screenshot, note the light gray background on the [HeadHeight] text in the formula.  That indicates that it is a reference to that property, created by double-clicking on the desired property in Insert Property Definitions list box at the lower left of the Formula Property Definition window.

 

Then I would modify the tag to show the formula property, by changing the Tag property of the attribute definition in the Window Tag Block view block from WINDOWOBJECTS:HEADHEIGHT to WINDOWOBJECTS:HEADHEIGHTFORTAG.  Running the MVBLOCK command, choosing the Update command line option, and selecting the existing tag results in this:

 

Snag_34cead4.png

 

I believe that is what you are trying to do.  The attached file is a revised version of the one you posted in the other thread, with those changes made.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature