Dealing with quotation marks in named settings such as saved views, text styles, dimension styles an


AskInga logo

 

Posting Date:  October 2011

With thanks to Cole Foster for sharing this awesome tip. 

Say, you had a saved view, dimension style, or even a text style that included a quotation mark in the name such as 1/4" ARCH.   In previous versions of MicroStation, you could simply call this  name in a key-in without worrying about the quotation mark.  For example:  VI=1/4" ARCH , DIMSTYLE ACTIVE 1/4" ARCH , and TEXTSTYLE ACTIVE 1/4" ARCH

In MicroStation V8i, you need to resolve two things: 

  1. The space in the name,
  2. And, the quotation mark being used to indicate inches.

To deal with spaces in named items, enclose the entire name in quotation marks.  For example,  "1/4" ARCH".  However, this throws MicroStation a wrench since it will interpret the quotation mark for inches as the end of the name.  To overcome this, simply preceed the quotation used for inches with a backslash.  The entire key-in is now:

VI="1/4/" ARCH"

DIMSTYLE ACTIVE "1/4\" ARCH"

TEXTSTYLE ACTIVE "1/4\" ARCH"

Note:  This information is also noted in MicroStation Help > Apply Saved View.