AutoCAD MEP General

Reply
Distinguished Contributor
RocksterB
Posts: 123
Registered: ‎02-26-2007
Message 1 of 5 (342 Views)
Accepted Solution

Add brackets to Property Set Definitions for tag

342 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?

*Expert Elite*
Keith.Brown
Posts: 1,069
Registered: ‎03-13-2008
Message 2 of 5 (337 Views)

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
AutoCAD MEP 2014 | Revit 2014 | EastCoast CAD/CAM V6.1 | Visual Studio 2013
────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate. Thank you!
Distinguished Contributor
RocksterB
Posts: 123
Registered: ‎02-26-2007
Message 3 of 5 (330 Views)

Re: Add brackets to Property Set Definitions for tag

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

That worked perfectly. Thanks!

*Expert Elite*
Keith.Brown
Posts: 1,069
Registered: ‎03-13-2008
Message 4 of 5 (327 Views)

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
AutoCAD MEP 2014 | Revit 2014 | EastCoast CAD/CAM V6.1 | Visual Studio 2013
────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate. Thank you!
Distinguished Contributor
RocksterB
Posts: 123
Registered: ‎02-26-2007
Message 5 of 5 (324 Views)

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD MEP Category!

The AutoCAD MEP forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Ask the Community