• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD MEP

    Reply
    Distinguished Contributor
    Posts: 123
    Registered: ‎02-26-2007
    Accepted Solution

    Add brackets to Property Set Definitions for tag

    232 Views, 4 Replies
    08-09-2012 05:20 AM

    I have a value in a tag I created with a property set definition formula that need text brackets around it. For ex. [1234]. What do I add to the formula to accomplish this?

    Please use plain text.
    *Expert Elite*
    Keith.Brown
    Posts: 747
    Registered: ‎03-13-2008

    Re: Add brackets to Property Set Definitions for tag

    08-09-2012 09:51 AM in reply to: RocksterB

    You can modify your formula to something like this.

     

    "[" & "[Original Formula]" & "]"

     

     

    The quotes around your formula will cast it to a string and then you can add the brackets to the front and the back.

     

     


    Keith Brown AutoCAD MEP BLOG | RSS Feed
    Please use plain text.
    Distinguished Contributor
    Posts: 123
    Registered: ‎02-26-2007

    Re: Add brackets to Property Set Definitions for tag

    08-09-2012 11:30 AM in reply to: Keith.Brown

    That worked perfectly. Thanks!

    Please use plain text.
    *Expert Elite*
    Keith.Brown
    Posts: 747
    Registered: ‎03-13-2008

    Re: Add brackets to Property Set Definitions for tag

    08-09-2012 11:53 AM in reply to: RocksterB

    Glad that it worked out.  You can find alot of information about property sets and using vbscript in them in if you browse the autocad architectural custimization forums. 

     

    I also visit this site alot to find out about vbscript.  http://www.w3schools.com/vbscript/vbscript_ref_functions.asp


    Keith Brown AutoCAD MEP BLOG | RSS Feed
    Please use plain text.
    Distinguished Contributor
    Posts: 123
    Registered: ‎02-26-2007

    Re: Add brackets to Property Set Definitions for tag

    08-09-2012 11:55 AM in reply to: Keith.Brown

    Thanks for share and your tips.

    Please use plain text.