Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki How to Remove Trailing Zeros from EC Annotations in OpenPlant Modeler
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • -OpenPlant Modeler v8i
          • +Component - OpenPlant Modeler
          • +Drawing Generation- OpenPlant Modeler
          • +Errors, Logs, Messages, Crashes - OpenPlant Modeler
          • +Import/Export- OpenPlant Modeler
          • +Installation - OpenPlant Modeler
          • +OpenPlant HVAC-OpenPlant Modeler
          • OpenPlant Modeler [FAQ]
          • +OpenPlant Specification Generator
          • +ProjectWise - OpenPlant Modeler
          • +Properties - OpenPlant Modeler
          • +Release Notes - OpenPlant Modeler
          • +Schema - OpenPlant Modeler
          • -Settings/Attributes - OpenPlant Modeler
            • Creating an Annotation with the EC Annotation Manager
            • How to Change Default Bend Radius for Mitered Bends
            • How to Change the Default Value of Number of Segments for HVAC Mitered Elbow
            • How to change the Maximum Allowed Bend Point Angle for Mitered Pipe Bend
            • How to create a New Property & Make its Field Editable in OpenPlant Modeler
            • How to Create Annotation for Multiple Properties using EC Annotation Manager
            • How to Disable Server Tree Hierarchy in Active Tree of Item Browser
            • How to Display Elevation Differences using EC Annotation in OpenPlant Modeler
            • How to Fix Generic Valve Insertion Issue in OpenPlant Modeler
            • How to Leave Custom Length Value after using Change Spec / Change Size Option
            • How to Make Properties Values Editable in OpenPlant Modeler
            • How To Reduce Printing Time in OpenPlant Modeler
            • How to Remove Trailing Zeros from EC Annotations in OpenPlant Modeler
            • How to Set Default User in OpenPlant Modeler
            • How to Set Default Value of Nested Depth in OpenPlant Modeler
            • How to Turn on Automatic Hatching
            • +Named Expressions: Managing Component Symbology in OpenPlant Modeler
            • OpenPlant Configuration Variables
            • To Display Tracing on Pipeline in OpenPlant Isometric Manager
            • To Fix or Create New Elbow Radius Entry under AutoFitting Template in OpenPlant Modeler
            • To put Catalogs and Specs in a different folder out of default WorkSpace
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • +Tasks - OpenPlant Modeler
          • +Training - OpenPlant Modeler
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • +OpenPlant PID v8i
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

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

    How to Remove Trailing Zeros from EC Annotations in OpenPlant Modeler


    Applies To
    Product(s): OpenPlant Modeler
    Version(s): 08.11.09.581
    Environment: Windows 7 (64 bit)
    Area: Settings/Attributes
    Subarea: -
    Original Author: Rahul Kumar, Bentley Product Advantage Group

    Overview

    To remove trailing zeros from some properties value for Annotation in OpenPlant Modeler. 

    Background

    To remove trailing zeros for few properties to show it inside OpenPlant Modeler. See image below. 

    Sometimes it is required have leading zeros or to remove trailing zeros from a property value say for Size, length etc. With below steps, user will be able to solve this issue. 

    Steps to Accomplish

    1. Launch OpenPlant Modeler & select Drawing Composition Tab.

    2. Launch the Annotation Manager as shown in below image.



      Note – Please be sure the drawing activities in the model has been checked in/saved in order to avoid any losses in drawing.

    3. It will open ECAnnotation.cel file for further working. Also Annotation manger dialog gets open. See image below.



    4. In the Annotation Manager, create a new Model and set the type user want to include and assign a name.

        



    5. Select the Class in which annotation will apply to in the Item and select the "Place Text" icon shown on right side of dialog box.



    6. Select "Insert field’"option in the word processor dialog.



    7. In the Fields Editor, Select “Nominal Diameter” property. Notice in Bottom it display the trailing zeros.



    8. From “Double Format” tab, select “Trailing Zeros” option. Change to to “Hide”. See image below. 



    9. Adjust the size in ec annotation.dgn file and click on OK.

    10. Annotate Component and verify result. See below image. 

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/12238.settingsattributes-openplant-modeler

    Comments or Corrections?

    Bentley's Product Advantage Group requests that you please submit any comments you have on this Wiki article to the "Comments" area below. THANK YOU! 

    • OpenPlant Modeler
    • OPM
    • 08.11.09.XXX
    • Trailing Zeros
    • EC Annotations
    • Decimal
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Fri, Apr 22 2016 9:53 AM
    • Revisions: 1
    • 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