Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki The Settings Manager - Part 2
    • 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
        • Run a VBA macro when opening or closing design files
        • Run commands or BASIC macro when opening files
        • Run commands when starting MicroStation
        • The Settings Manager - Part 1
        • The Settings Manager - Part 2
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    The Settings Manager - Part 2

    AskInga logo

    Original Article Date: Feb 21, 2001 

    This article is a continuation of The Settings Manager - Part 1 and explores how the Settings Manager deals with the issue of scale.

    Authors Note: This article has also appeared in the October 2000 issue of The MicroStation Manager magazine and is Part 2 of 2. Go to The Settings Manager - Part 1




    In The Settings Manager - Part 1 we introduced the Settings Manager, explored the delivered sample files and had a peek at modifying the drawing components. Hopefully you've had a chance to explore this wonderful production tool and perhaps even tried your hand at customizing the settings to suit your own needs. If so, you may have had some trouble dealing with the issue of scale and how it impacts paper-related drafting items such as cells and text.

    Setting the Scales
    There are two scales associated with the Settings Manager. The first scale encountered deals with mismatched working units of the original drawing component, such as a cell, and the design file. For example, the drawing component was built in imperial units and the design file is in metric. When this occurs, the Settings Manager will automatically try to reconcile the scale by establishing a 1:1 scale between the file and the component cell. Once that's done, each subsequent time the cell is placed it's size will be correct for that current file.

    The other scale that needs to be dealt with is the final plot scale or simply put the output scale. The output scale of the drawing can be selected by the user from the Category > Scale of the Settings Manager. When an output scale is selected, the Settings Manager defines how many master units to plot per inch of paper and it adjusts the size of text and cells accordingly. This is only true however if the Drawing Scale and Use Paper Size option is enabled during the creation of the drawing component. Although these options have different names, they in fact execute the same process - that is - they "normalize" the size of the cell or text based upon the final plot scale selected.

    To define available plot scales:
    From the Edit Settings dialog, Category > Scale > Edit > Create Group > Rename as necessary > Double Click to define the scale.

    To use Drawing Scale with cells:
    Final Plot Scale X Component size = Active Scale for Cell Placement
    (Plot Scale 1:1000) x (Component size 0.001) = Active Scale of 1.0
    (Plot Scale 1:2500) x (Component size 0.001) = Active Scale of 2.5

    To use Use Paper Size with text:
    Final Plot Scale x Component Size = Active Text size for Placement
    (Plot Scale 1:2000) x (Component size 0.002) = Text Size of 4
    (Plot Scale 1:5000) x (Component size 0.002) = Text Size of 10

    In both cases, you'll notice that the size of the component is simply a “multiplier" and may not necessarily imply the size of the component when it was initially built.

    Hint: When creating the graphics for your cells, it's helpful to build them all at one common “base scale”. This will ensure that all cells are placed at the correct size regardless of the output scale.

    Dealing with Working Units
    An option to modifying the working units during the design of a settings file is to establish the working units at the start of a project and then develop seed files for that project. This will resolve many scaling issues and improve the work flow of the design process. It will also eliminate unnecessary operator error from selecting the incorrect units for a design file.

    On the other hand, should you choose to develop the Settings Manager to allow the user to change the working units of the file you can easily add your preferred working units via the Edit Settings dialog box: Category > Working Units >Edit >Create Group > Rename “Unnamed” appropriately > Double Click the new group > Select the Master Unit and Sub Unit labels > Define the Resolution.

    Creating and modifying Dimension and Multi-line components

    Using the Settings Manager, we can create a “library” or “pick list” of Dimension and Multi-Line styles. The following outlines the general procedure for doing so:

    1. Create the element using the normal MicroStation methods: Element > Dimension or Element > Multi-Line
    2. Create the drawing component: From the Edit Settings dialog, Create > Dimension (or Multi-Line)in the desired Group.
    3. Capture the active Dimension or Multi-Line: Style > Dimension (or Multi-Line) > Get Active. By default a numerical value is assigned which can be replaced by a name and definition of your choice.
    4. Associate the new style to the new component: From the Edit Settings dialog, double click the Dimension (or Multi-Line) component > Select > Make a selection > Save

    Using key-ins to execute the components
    As with all of MicroStation's tools, you can use key-ins to call up the Settings Manager and it’s drawing components. This would allow you to create a custom tool box or a menu item instead of using the delivered dialog box. In any event, the syntax for the key-in is:

    [Active settings] [type] [group name]:[component name]


    For example the key in for activating the Linear component called "Draw lot line" from the group called "Lots" would be:
    active settings linear lots:draw lot line

    In order for the tool bar to be functional it is important that a button be created which will load the appropriate settings file, the key-in for it would be: MDL LOAD SETMGR


    ASCII Group Utility
    The ASCII Group Utility (ASCGROUP.MA) is an MDL enhancement first introduced in MicroStation SE which allows you to create, import, export and merge settings using ASCII text files. By utilizing text files, you can quickly edit the definitions of the drawing components and even cut and paste between files in order to transport large amounts of data. In order to accomplish this however, you must however follow the a strict syntax:

    • Text followed by '#' is a comment.
    • Keywords are case sensitive.
    • Each keyword must be placed with its value on a separate line.
    • Maximum line length is 255 characters.
    • Each "add" or "set" keyword must have a matching "end".



    Need more help?

    • MicroStation 95 User's Guide pp. 4-58
    • MicroStation 95 Administrator Guide pp. 7-64
    • MicroStation 95 Reference Guide pp. 5-3
    • MicroStation 95 Tutorial Workbook pp. 12-2
    • MicroStation J Administrators Guide, Chapters 2 and 6
    • Technote #6109 “Settings Manager General Questions”
    • Client Server article “A Lesson in Settings Management” -- January/February 1997
    • Client Server article "Sorting Out Your Settings Manager Options" -- August, 1999
    • Client Server article "You Can't Do That with Settings Manager" -- July, 1999




    This article is Part 2 of 2. Go to The Settings Manager - Part 1


    AskInga Article #54

    • Askinga
    • Automation
    • Programming
    • Article
    • Share
    • History
    • More
    • Cancel
    • Anonymous Created by Anonymous
    • When: Thu, May 29 2008 11:10 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 10:48 AM
    • Revisions: 3
    • 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