Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Annotation Scale simplified
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • -Text - Fonts - Annotation
        • Add a drop shadow to your text
        • Add an outline to your text
        • Add or remove annotation scale to existing text and cells
        • Adjust the text size in the Text Editor or Word Processor
        • All about the text preview as seen in the Text Styles dialog
        • ALT codes for special characters
        • Alternate text editing handles in V8
        • Alternate text editing handles in XM
        • An improved version of Change Text Case - Rev 1
        • An improved version of Change Text Case - Rev 2
        • Annotation Scale simplified
        • Assign a different Text Node value
        • Change active text size by applying simple math via keyin
        • Change single-line text size
        • Change text case
        • Change text scale and rotation
        • Change text size based on the active scale
        • Change the annotation scale of selected text and cells
        • Change various text rotations all at once
        • Controlling text order when pasting into another application
        • Convert single lines of text to a multiline text node
        • Converting MicroStation RSC fonts to TTF fonts
        • Dealing with the ° symbol
        • Dealing with the maximum text size when working with MicroStation J
        • Define tabs and indents
        • Disable word processor when using place note
        • Display a text file in MicroStation
        • Display fonts in a handy dialog
        • Dynamic text justification in Place Note
        • Edit text in cells with MicroStation V8 2004 Edition
        • Editing dictionary files
        • Editing text placed along an element
        • Enter text via a keyin regardless of the editor style
        • Export text from design files to text files
        • Force the Word Processor regardless of default
        • Get rid of warning message when changing annotation scale
        • How to insert special characters into your drawings
        • How to insert text into your design files
        • How to unlock a locked text style
        • Insert a new line or carriage return
        • Keyin to change line spacing
        • Keyin to set active text style
        • Keyin to set the text style to none
        • Keyins for special characters
        • Keyins to set text editor style
        • Left Margin - Right Margin - Text Justification Explained
        • Line Spacing - At Least
        • Line Spacing - Automatic
        • Line Spacing - Exact
        • Line Spacing - From Line Top
        • Make your field units display with superscript text
        • Maximum characters for text element
        • Nearest Snap and text
        • New line of text
        • Overcoming problems when placing text from a command line
        • Place multiple leader lines with Place Note
        • Place Note text above a leader
        • Place Note with an arc
        • Place text on line without breaking the line.
        • Put different text in the preview window
        • Quickly see your fonts
        • Red font name
        • Scale or rotate your text about a point
        • See your special characters
        • Set Annotation Scale via keyin
        • Set line spacing used for label line
        • Simplifly repetitive text placement with this VBA
        • Slow screen updates with true type fonts
        • Sort fonts by font number instead of by font name
        • Split large blocks of text using a fence
        • Stanza - A mini text editor for MicroStation
        • Stop clicking Apply when editing text
        • Super fast text editing
        • Superscript and subscript text
        • Text Editor background color
        • Text style icon variations
        • The default font
        • Toggle text preview
        • TTF and SHX text have font numbers
        • Use the nearest snap to locate key points on text
        • Use the same spell checker dictionary as Microsoft Word
        • VBA to change size of text in Word Processor
        • Where new words go
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Annotation Scale simplified

    AskInga logo

    Original Article Date: Feb 18, 2004

    Perhaps you've stumbled upon a new feature in MicroStation V8 2004 Edition and wondered what Annotation Scale is all about. This little article will explain how text sizes are controlled and even has a sample file for you to learn from.

    To get a better understanding of how the annotation scale can affect the text in your design file, download and open 181_annotation.zip. This is a simple little map drawn at 1:1 and it's units are set up in metric. The text you see on the map is defined by using Text Styles and the sizes are being controlled by MicroStation's Annotation Scale. All of the elements that you see on the screen reside in the active model...there are no other models being referenced.

    We'll start by simply taking a tour of this file:

    From the Models dialog, open Map at 100K
    Note the size of the text.
    Now go ahead and explore the remaining models and in each case notice the size of the text.

    So, how is this working....it's actually very easy!

    First of all, MicroStation is using an external resource file called scales.def which is found in the ...\workspace\system\data\ folder. If you open this file with any text editor, you'll notice two columns of information separated by a semi-colon. The left one is the name that will be displayed in the Model Properties dialog, while the right one is the actual scale factor that is used to derive the text sizes.

    Let's take a closer look at how scales.def is being used by our sample design file.

    Navigate back to Map at 100K and go the the Model Properties dialog.
    Notice Annotation Scale picker field displays the value 1:100000.
    Similarily, the other models in this file have thier annotation scale set accordingly.

    By poking in the Annotation Scale field you will see a picklist of all of the available scales...and guess where these scales are coming from? If you guessed the left column in scales.def you're absolutly right!

    To change the scale of the text in any one of the models, you can simply select an alternate scale from the above picklist. In doing so, you will be asked if you'd like to propegate the new annotation scale to the annotation. Answering Yes will automatically resize the text based on the new scale. On the next page we'll take a look at what's going on behind the scenes.

    In order for MicroStation to be able to do the necessary math, you'll want to ensure that the Annotation Scale lock is on.

    Now that that's out of the way, do an Element Information on one of the pieces of text above a pipeline. In the Details tab of the resulting dialog you'll find two bits of information.

    • The text size is 85.000000 which means that it's actually TX=85
    • And the Annotation Scale is set to 100,000. This value is being driven from the Annotation Scale of the model that the text resides in.

    Just for fun, do an Element Information on some pipeline text in each of the three models and note the different sizes and annotation scales:

    Map at 50K
    Text Size = 42.5, Annotation Scale = 50000

    Map at 100K:
    Text Size = 85, Annotation Scale = 100000

    Map at 250K:
    Text Size = 212.5, Annotation Scale = 250000

    So, the question is now: How does MicroStation figure out the correct text size? Well, go to the Text Styles dialog and navigate to the text style called Pipe.

    From the General tab, notice the following:

    With a little mathematics, we can calculate the final text size in the model as being the text size X scale factor.

    So....

    Map at 50K
    0.000850 x 50000 = 42.5

    Map at 100K
    0.000850 x 100000 = 85

    Map at 250K
    0.000850 x 250000 = 212.5


    At this point, you should be able to create a new model and set the desired Annotation Scale. Although you can set the scale after the fact, it's desirable to do so when the model is created.

    Once you've created a new model, go ahead and populate it with some text. Then again, you may as well create some of your own text styles and control thier sizes with the Annotation Scale. Have Fun!


    Final Notes:

    • The Scale Factor in the above formula is the second column of values found in the scales.def file.
    • Before getting too involved in using Annotation Scale, you'll want to ensure that the scale you intend on using is listed in scales.def. If it's not there, simply add it....OR...leave the delivered file alone and create your own customized file.
    • The location of the file MicroStation uses to get the scales is controlled by the variable MS_CUSTOMSCALEDEF.
    • The workflow presented in this article is better suited for new text. MicroStation may hiccup if you attempt to apply Annotation Scale to existing text that came from older design files.

    AskInga Article #181

    • Models
    • Text Fonts Annotation
    • Askinga
    • Share
    • History
    • More
    • Cancel
    • CTennyson Created by Bentley Colleague CTennyson
    • When: Wed, May 21 2008 11:47 AM
    • Yvonne Lohse Last revision by Bentley Colleague Yvonne Lohse
    • When: Fri, Jun 12 2015 7:13 AM
    • Revisions: 9
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies