Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Underline text in Property Set Definition

  1. #1
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    0

    Default Underline text in Property Set Definition

    Anyone figured out how to underline text in a formula property set definition (perhaps using vbscript)?

    -Buzz

  2. #2
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    I have tried:

    RESULT = "<u>" & TEXT & "</u>"
    RESULT = <u>TEXT</u>
    RESULT = "ULine(TEXT)
    RESULT = "%%U" & TEXT
    RESULT = %%UTEXT
    RESULT = "^u" & TEXT
    RESULT = ^uTEXT

    None work...

    -Buzz

  3. #3
    100 Club
    Join Date
    2008-06
    Location
    VA
    Posts
    165
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    Hmmm, %%U has worked for me to create an underlined equipment tag. Maybe the SSs will help?

    -Brad
    Attached Images Attached Images

  4. #4
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    I have not tried it lately, but I have had success using a formula property to concatenate "%%u" in front of text to be underlined.

    This blog post has a link to a thread in the Autodesk Discussion Groups that has a sample file attached, if that would be of any help to you.

    Depending upon your circumstances, you may find that using a Property Data Format to do the underlining works as well (or possibly better).

  5. #5
    100 Club
    Join Date
    2008-06
    Location
    VA
    Posts
    165
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    Perhaps the reason why %%U doesn't work for you is because your tag uses MText?

    I know I made my tag using DText, and it works fine, and typing %%U into MText has no effect whatsoever.

    Just an idea,
    -Brad

  6. #6
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    Brad,

    I think you are correct - but I am not using the PSD for a tag, I am referencing it in a Schedule Table.

    ...and I think when I explode a Schedule Table the text becomes mtext...

    [running out to check what happens when I explode a Schedule Table]

    Ok, I'm back... yes it is mtext in the Table.

    soo.... any other ideas?

    -Buzz

  7. #7
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    David,

    I tried creating a new Property Data Format, which has a prefix of %%u, but that did not underline (it just added the string %%u in front of the text (because it is mtext).

    -Buzz

  8. #8
    100 Club
    Join Date
    2008-06
    Location
    VA
    Posts
    165
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    I'd give David's second link a shot; using a Property Data Format to control the underlining.

    If you tried this and it didn't work, then I'm out of ideas for now...

    -Brad

    Edit: oops.. you beat me before I could post...

  9. #9
    100 Club
    Join Date
    2008-06
    Location
    VA
    Posts
    165
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    Buzz, maybe you could try this?: http://www.cadforum.cz/cadforum_en/qaID.asp?tip=4324

    It didn't work for me in regular MText, but maybe it'll work when passed through the VBScript...

    -Brad

  10. #10
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    0

    Default Re: Underline text in Property Set Definition

    Brad,

    I owe you a beer! [Insert dancing smiley here]

    Thanks a ton man - works great!

    -Buzz

Page 1 of 2 12 LastLast

Similar Threads

  1. 2012: If....Then....Else statement in Property Set Definition Help?
    By jgardner.79905 in forum AMEP General
    Replies: 1
    Last Post: 2012-07-02, 07:21 AM
  2. Formula Property Definition PLEASE HELP
    By douglas.167342 in forum ACA General
    Replies: 1
    Last Post: 2010-02-18, 10:34 AM
  3. Door Tag and Property Set Definition
    By jbayne in forum ACA/AMEP Styles Library
    Replies: 1
    Last Post: 2006-06-01, 11:46 AM
  4. Replies: 0
    Last Post: 2005-02-09, 09:08 PM
  5. Formula Property Definition
    By arcadia_x27 in forum ACA General
    Replies: 1
    Last Post: 2004-09-10, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •