Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki How to deal with AutoCADs zero suppression in dimensions
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • -Dimensions
        • Add a description to your dimensions
        • Add a leader line to the dimension radial tool
        • Ball and chain dimensioning
        • Change dimension terminators on the fly with this VBA
        • Change dimension text justification
        • Change symbology of extension lines
        • Change the datapoint order when dimensioning
        • Change the minimum dimension line length
        • Comma separate dimension text
        • Dimension an arcs length
        • Dimensions automatically dropping
        • Drop dimensions to segments
        • Edit dimension text to be an asterisk
        • Eliminate extra spaces with unstacked fractions in MicroStation V8
        • Eliminate extra spaces with unstacked fractions in MicroStation XM
        • Extract measured distances from MicroStation
        • How to align dimensions that are not aligned
        • How to deal with AutoCADs zero suppression in dimensions
        • Insert a dimension into an existing dimension
        • Key-In to set active dimension style
        • Keyin to set text style to none in dimension style
        • Keyins to flip V7s dimension terminators
        • Keyins to flip V8s dimension terminators
        • Macro to change orientation of dimension terminators
        • Modify a dimension without extension lines
        • Move dimension text above or below dimension line
        • New dimension style dialog
        • Ordinates with your symbology
        • Put secondary dimensions in parenthesis
        • Quickly turn on-off extension lines
        • Reinstating the original dimension value
        • Set extension lines to an equal length
        • Stop dimension text from flipping
        • Those flipping dimensions!
        • Use dimension audit to find overridden text
        • Use element ranges to dimension elements
      • +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
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    How to deal with AutoCADs zero suppression in dimensions

    AskInga logo

    Original Tip Date: Sep 1, 2006

    How to deal with AutoCADs Zero Suppression in dimensions
     

    Applicable to MicroStation version 08.05.02.35

    With many thanks to Bentley's Lynn Winkler for sharing this tip.

    In AutoCAD you can suppress the zero for feet and/or inches in the Dimension Style dialog. For example, a line that measures 12' will be dimensioned as 12' rather than 12' 0". In MicroStation V8, you can adjust the display of a zero subunit with the following keyin:

    mdl load calculat; calculator mdlDimStyle_setBoolIntProp (mdlDimStyle_getActive (), X, 1078)

    Where:
    X = 1 to show the subunit even if it is zero.
    X = 0 to hide the subunit if it is zero.


    And, if you really want to...you can adjust the display of zero master units with the following keyin:
    mdl load calculat; calculator mdlDimStyle_setBoolIntProp (dgnDimStyle_getActiveFromModelRef (0), X, 1041)

    Where:
    X = 1 shows the master unit value even if it is zero.
    X = 0 hides the master unit value if it is zero.

    Note: These keyins will change the active dimension setting, but will not change any existing dimensions in the file. To do so, use Change Dimension to update the existing dimensions to the current setting.

    Note: In MicroStation 08.09.03.xx simply navigate to the Advanced tab of the Dimension Styles dialog. Then go to Units > Primary and toggle both Show Zero Master Unit and Show Zero Sub Unit



    AskInga Tip #667

    • tip
    • Askinga
    • Dimensions
    • Share
    • History
    • More
    • Cancel
    • Nicholas Fuschino Created by Bentley Colleague Nicholas Fuschino
    • When: Wed, Jun 18 2008 9:05 AM
    • Jordan Stierly Last revision by Jordan Stierly
    • When: Thu, Jun 10 2010 9:47 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