Community
AutoCAD MEP Forum
Welcome to Autodesk’s AutoCAD MEP Forums. Share your knowledge, ask questions, and explore popular AutoCAD MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add brackets to Property Set Definitions for tag

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
RocksterB
623 Views, 4 Replies

Add brackets to Property Set Definitions for tag

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?

4 REPLIES 4
Message 2 of 5
Keith.Brown
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.

 

 

Message 3 of 5
RocksterB
in reply to: Keith.Brown

That worked perfectly. Thanks!

Message 4 of 5
Keith.Brown
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

Message 5 of 5
RocksterB
in reply to: Keith.Brown

Thanks for share and your tips.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost