Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki Scale Model VBA to change the working units and resolution
    • Sign in

    • -MicroStation Wiki
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MICROSTATION
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MICROSTATION
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • -Units - MicroStation
          • Control the Working Units used in files
          • How to remove enhanced precision when saving as V7
          • Scale Model VBA to change the working units and resolution
          • Working Units [FAQ]
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • Element's priority is different the priority of the level it's been placed on
        • +i.Models - MicroStation
        • +Raster - MicroStation
      • +Tips & Tricks
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    Scale Model VBA to change the working units and resolution

       
      Applies To 
       
      Product(s): MicroStation
      Version(s): V8
      Environment:  N\A
      Area:  Essentials
      Subarea:  N\A
      Original Author: Bentley Technical Support Group
       

    Problem

    Need to change the Working Units of a number of Models with a design file

    Solution

    This Scale Model VBA can be run to change the working units and resolution settings. 

    ScaleModels.zip

    The VBA will scale all Models but only allow for one cell library to be ran through at a time.
    The reason that this Vba is not automatic is because it requires user intervention.

    To Run this Vba:

    Place "scalemodels.mvba" into the default location:

    C:\Program Files (x86)\Bentley\Workspace\System\vba\examples

    Within MicroStation open the Cell Library to be scaled:

    > Utilities > Macros > Project Manager >

    Browse to the directory were the Vba is located and double click on the ScaleModels VBA from the list.

    Select Run and another Dialog box should appear as a Warning then select OK.

    The Rescale dialog box will display with options to change the working units and resolution.

    An option will allow for Saving the settings to this change, select that option.

    To proceed with this process select GO!

    See also

    http://communities.bentley.com/products/programming/microstation_programming/f/343173/t/91234

    • Migrated
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Tue, Jun 10 2014 4:05 AM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Tue, Dec 22 2015 11:39 PM
    • Revisions: 6
    • 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

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