Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
AutoPIPE
  • Product Communities
AutoPIPE
AutoPIPE Wiki 14. AutoPIPE Stress Isometric customization - prevent .00 (trailing Zeros) after metric dimensions that are in mm.
    • Sign In
    • -Pipe and Vessel Stress Analysis - Wiki
      • -.Bentley AutoPIPE
        • +a. General Information about AutoPIPE
        • +b. NEW User Guide for AutoPIPE
        • +c. Technical Support - AutoPIPE
        • +d. Download - Install - Release Notes - AutoPIPE
        • +e. Features and Bugs in AutoPIPE
        • +f. License AutoPIPE -
        • +g. System Messages: Warnings, Errors, Crashed, Confirm, etc.. in AutoPIPE
        • h. QA&R program for AutoPIPE
        • i. Security
        • -❤︎ Support Solutions and FAQ's in AutoPIPE
          • +Batch Processing, ITS, and ATS using AutoPIPE
          • +File / Model Management using AutoPIPE
          • +General - AutoPIPE
          • +Graphics - AutoPIPE
          • +Grids (Input & Results) - AutoPIPE
          • +Import and Export - AutoPIPE
          • +Libraries - AutoPIPE
          • +Loads and Load Sets - AutoPIPE
          • +Localization (Non-English Language) - AutoPIPE
          • +Modeling Approaches in AutoPIPE
          • +Modules (i.e. Flange Analysis, Spring Hanger Selection, Rotating Equip, TTA) in AutoPIPE
          • +Piping codes - AutoPIPE
          • +Post Processing - AutoPIPE
          • +Printing - AutoPIPE
          • +Reports - AutoPIPE
          • +Settings - AutoPIPE
          • -Stress Isometrics - AutoPIPE
            • - How do I create a Stress Iso in AutoPIPE using OPIM?
            • -.OPIM Stress Isometric Troubleshooting Guide using AutoPIPE V8i 09.06.01.xx and higher
              • +00. Introduction to StressISO to OpenPlant Isometrics Manager
              • 00e. AutoPIPE Stress Isometrics Export Limitations from OPIM
              • +01. AutoPIPE Stress Isometric Troubleshooting: Table Issues
              • -02. Customize AutoPIPE Stress Isometric drawings
                • 01. AutoPIPE Stress Isometric customization - Modify line thickness & color of pipe Runs, Tee, Valve, Flanges, Reducer, etc..
                • 02. AutoPIPE Stress Isometric customization - Change color of dimension line:
                • 02. AutoPIPE Stress Isometric customization - Change dimension font:
                • 03. AutoPIPE Stress Isometric customization - Modify data table color & font
                • 04. AutoPIPE Stress Isometric customization - Change annotation Color Font
                • 05. AutoPIPE Stress Isometric customization - Relocate and Rotate north arrow to a different position
                • 06. AutoPIPE Stress Isometric customization - Relocate drawing number to a different position
                • 07. AutoPIPE Stress Isometric customization - Relocate headers to a different position
                • 08. AutoPIPE Stress Isometric customization - Modify drawing area on the border file
                • 09. AutoPIPE Stress Isometric customization - Modify data table number of rows per sheet
                • 10. How to control elevation Coordinates (E xxx Nxxx EL+XXX) placement on stress isometrics using AutoPIPE?
                • 11. AutoPIPE Stress Isometric customization - hide label "NS" from Pipe size
                • 12. AutoPIPE Stress Isometric customization - want to hide Dimension of SKEW (hatched)
                • 13. AutoPIPE Stress Isometric customization - support symbol is too big, want it to be smaller
                • 14. AutoPIPE Stress Isometric customization - prevent .00 (trailing Zeros) after metric dimensions that are in mm.
                • 15. How to expand the AutoPIPE Isometric drawing to take up more white space ?
                • 16. How to add Coordinates to a support location?
                • 17. How to physically move the Stress isometric dimensions and node names using OPIM?
                • 18. Change Dimension Text from Normal Font to Isometric Font (angled 30 deg) using AutoPIPE's OPIM?
                • 19. How to make changes to the stress isometric data tables in AutoPIPE?
                • 20. How to increase / decrease minimum distance between isometric drawing / annotation and actual Border when using AutoPIPE?
                • 21. Flange dimension option, include flange length or dimension to center of flange set on AutoPIPE Stress Isometric
                • 22. How to remove "G" from support in a stress isometric created by AutoPIPE
                • 23. How to add a text label for "type of Tee" on a stress isometric using AutoPIPE?
                • 24. How to increase the AutoPIPE's node point text size on an OPIM Stress Isometric?
                • 25. What are the steps required to change the company's logo on a Stress Isometric drawing created by AutoPIPE?
                • 26. How to display slope dimensions or slope symbol on stress isometric using AutoPIPE ?
                • 27. AutoPIPE Stress Isometric customization - Remove / turn off north arrow from being printed
                • 28. AutoPIPE Stress Isometric customization - modify symbol
                • 29. AutoPIPE Stress Isometric customization - Add annotation to node poiont
              • +03. AutoPIPE Stress Isometric Troubleshooting: Dimension Issues
              • +04. AutoPIPE Stress Isometric Troubleshooting: Drawn Components
              • +05: Reasons why OPIM stress Isometric does not create a drawing file or drawing is blank from an AutoPIPE model?
              • 06. How to install OPIM (OpenPLANT Isometric Manager) without internet access?
              • 07. Why are Stress Isometric Break Points not saved in an AutoPIPE model?
              • 08. How to associate a program opening DGN or DWG file created by AutoPIPE?
              • 09. How to modify drawing border used to export a Stress Isometric in AutoPIPE 9.6 and Higher?
              • +10. Stress Isometric Settings in AutoPIPE
            • .Stress Isometrics features in AutoPIPE V8i 09.06.02.xx and higher
            • Alias StressISO for AutoPIPE 09.06.01.xx and Lower - Stress Iso Configuration files
            • +Alias StressISO for AutoPIPE 09.06.01.xx and Lower - Stress Iso Export: There were some warnings and/or errors while executing ISOGEN
            • Alias StressISO for AutoPIPE 09.06.01.xx and Lower - Beam / Pipe trunnions are not displayed in StressISO
            • Alias StressISO for AutoPIPE V8i 09.06.01.xx and Lower
            • Alias StressISO Troubleshooting Tips for AutoPIPE 09.06.01.xx and Lower
            • Q0. What are the difference between a Stress Isometric and Fabrication Isometric using AutoPIPE?
            • Q1. What was the last version of AutoPIPE that supported Alias StressISO Isogen application?
            • Q2. Can you combine an older version with Isogen and new version of with OPIM in AutoPIPE?
            • Q3. Is the extra StressISO Add-on license required in order to create a Stress Isometric using AutoPIPE 09.06.02.06 or higher with the OpenPlant Isometrics manager?
            • Q4. Is it necessary to install OPIM prior to using AutoPIPE Stress Isometric feature?
            • Q5. Is Bentley going to have any conversion procedure for AutoPIPE Stress-Iso to OpenPlant Isometrics Manager (OPIM)?
            • Q6. Can a Stress Isometric be created without an additional OPIM license?
            • Q7. Can I open the AutoPIPE Isometric file from Windows Explorer without incurring over usage charges?
          • +Technology Productivity Capabilities
      • +.Bentley AutoPIPE Vessel (powered by Microprotol)
      • +ADL PIPE
      • +Bentley AutoPIPE Nozzle
      • +Bentley PlantFLOW
      • +Bentley PULS
    • +AutoPIPE Brand Learning Resources
    • +Attend a live meeting with an AutoPIPE Analyst

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

    14. AutoPIPE Stress Isometric customization - prevent .00 (trailing Zeros) after metric dimensions that are in mm.

    Applies To
    Product(s): AutoPIPE
    Version(s): CONNECT;
    Area: Stress Isometric
    Original Author: Bentley Technical Support Group
    Date Logged
    & Current Version
    Feb. 2016
    10.00.00.10

    Problem:

    How to prevent trailing Zeros from appearing on all dimension values that are using metric format (i.e. mm) from being displayed on an AutoPIPE Stress Isometric using OPIM?

    Solution:

    OPIM version 10.9 and higher

    Close AutoPIPE

    All the settings regarding formatting values for dimension, reporting, diameters and coordinates are in the style.xml file. OPIM now uses a pattern where a single pattern replaces all the individual settings from style.cfg used in the previous versions. 

      <NumberFormats>

        <DimensionsImperial>#'#.#/16"</DimensionsImperial>

        <DimensionsMetric>#</DimensionsMetric>

        <CoordinatesImperial>#'#.#/16"</CoordinatesImperial>

        <CoordinatesMetric>#</CoordinatesMetric>

        <ReportImperial>#'#.#/16"</ReportImperial>

        <ReportMetric>#</ReportMetric>

        <DiameterImperial>#.#/16"</DiameterImperial>

        <DiameterMetric>#</DiameterMetric>

        <Angle>#.#%%d</Angle>

      </NumberFormats>

     

    In this case one would change DimensionsMetric or DimensionsImperial, a few examples:

    #             rounded to nearest integer value

    #.#         at most one decimal

    #.0          exactly one decimal

    Shown below is part from the documentation

    Format Specifiers

    A format specifier is a combination of #, 0, decimal point and other characters. In general, the # and 0 (zero) characters are used as value placeholders, all others are used as is.

    Please see below for a few examples:

    Integer formatting: Examples use 3.1 as input value

    Spec

    What does it do

    Result

    #

    Format as integer.

    3

    0#

    Format as integer with at least 2 digits. Leading zeros will be used for numbers < 10.

    03

    00#

    Format as integer with at least 3 digits. Leading zeros will be used for numbers < 100

    003

    Decimal formatting: Examples use 3.014 as input value

    Spec

    What does it do

    Result

    #.#

    Format as decimal with at most one digit after the decimal point.

    3

    #.0

    Format as decimal with exactly one digit after the decimal point

    3.0

    #.000

    Format as decimal with exactly three digits after the decimal point

    3.014

    00#.00

    Format as decimal with leading zeros for number < 100 and exactly two digits after the decimal point.

    003.01

    Imperial formatting: Examples use 61.625 as input value

    Spec

    What does it do

    Result

    #'#.#/16"

    Format as feet/inch/fraction. The first # is the placeholder for the feet part, the second # is the placeholder for the inch part and the third # is the placeholder for the fraction numerator. The 16 after the / specifies the accuracy for the fraction denominator. Possible values are 2,4,8,16,32,64.

    All of the characters between the placeholders and after the accuracy part are displayed as is.

    5'1.5/8"

    # Feet #-#/16 Inch

    Same as above but with different unit display.

    5 Feet 1-5/8 Inch

    #-#/16"

    Format as inch/fraction. Same as above except for feet display.

    61.5/8"

    #-#/16 Inch

    61-5/8 Inch

    #'#80.#/16"

    An integer value following the inch placeholder specifies an inch/feet threshold. Below the threshold the value is reported in inches. Above it feet are used. Normally only 24 would be optionally used in dimensioning.

    5'1.5/8"

    Formatting with conversion

    Optional one can divide/multiply the input value. This is done by pre-pending the format specifier with /<number>. For instance: /12 divides the input value by 12 and then applies the formatting.

    Spec

    What does it do

    Result

    /12#.00ft.

    Divide the input by 12 and format as a decimal with exactly 2 digits after the decimal point. The end result is decimal feet when used in an imperial project.

    18 -> 1.50 ft.

    /36#.00 yards

    Same above except output in yards

    18 -> 05.yards

    /1000#.000 m

    Output as meters with 3 significant digits.

    2500 -> 2.500 m

    OPIM version 10.8 and lower

    Close AutoPIPE

    The style.cfg file requires an update. It is located in following folder(s):

    1. “[InstallationDirectory] \ isoextractor \ projects \ project01 \ stress \ Config \ style.cfg”.

    2. [ProgramData] \ Bentley \ [AutoPIPE CONNECT version folder] \ isoextractor \ projects \ project01 \ stress \ Config \ style.cfg.

    Note: This style.cfg file is copied from folder #1 to folder #2 when the application is first opened or when profiles are reset.

    The file can be open in any Text editing application (i.e. MS Word, NotePAD, UltraEdit ect..)

    After the file is opened, search for the following entry  "IE_FMT_DIMENSION_DECIMAL_PLACES  = 1"

    the value 1 can be changed to zero to remove the trailing zero. Please note that the value will always be rounded off in such case and no decimals will be displayed.

    Save the file, close the file, start AutoPIPE,  open/create a model, save a Stress Isometric and confirm the setting works. 

    See Also

    Stress Isometric Troubleshooting: Dimension Issues

    Customize Stress Isometric drawings

    Bentley AutoPIPE

    • AutoPIPE
    • customize
    • Stress ISOMETRIC
    • units
    • Dimensions
    • Decimal
    • Share
    • History
    • More
    • Cancel
    • Mike Dattilio Created by Bentley Colleague Mike Dattilio
    • When: Mon, Mar 21 2016 9:48 PM
    • Mike Dattilio Last revision by Bentley Colleague Mike Dattilio
    • When: Fri, Dec 17 2021 11:12 AM
    • Revisions: 15
    • 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