Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenPlant | AutoPLANT
  • Product Communities
  • More
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Round Off Values After Decimal For Support Co-ordinates
    • Sign in
    • -OpenPlant | AutoPLANT 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
        • -OpenPlant Isometrics Manager v8i
          • -OpenPlant Isometrics Manager for OpenPlant
            • Installation/Upgradation Steps for OpenPlant Isometrics Manager
            • +Errors, Logs, Messages, Crashes - OpenPlant Isometrics Manager
            • +Open/Save - OpenPlant Isometrics Manager
            • +Processing - OpenPlant Isometrics Manager
            • -Settings/Attributes - OpenPlant Isometrics Manager
              • +Configuring the BOM and Reports
              • +DBQuery : usage, logging, debugging
              • +Grid Lines - OpenPlant Isometrics Manager
              • Connectivity Information Lost in Isometric After Detaching/Attaching Reference Model
              • How To Add Detail Sketches in OpenPlant Isometrics Manager Using OpenPlant Modeler
              • How to Add NEW Schema Field to Component for Custom Tagging in OpenPlant Isometrics Manager
              • How to Adjust Imperial Accuracy in OpenPlant Isometrics Manager
              • How to Assign FieldFit Weld Allowances or Other Weld Types for BOM & Cut List in OpenPlant Isometrics Manager
              • How to Change Numbering Sequences For Spools, Welds & CUTID
              • How to Control Socket Weld Symbols in OpenPlant Isometrics Manager
              • How to Define Existing lines in OpenPlant Isometrics Manager
              • How to Delete Levels and Create Custom Level List in OPIM Seed File
              • How To Display Co-ordinates Using Multipliers
              • How to Display Nozzle Rating and Facing Information on Connection & Continuation in OpenPlant Isometrics Manager
              • How To Display Pipe Length using Multipliers
              • How To Feature Microstation Tags And AutoCAD Attributes
              • How to Format Data in Fractions Listed Under Drawing Tag Data
              • How to Get Exclusive Support PARTID Report with Prefix
              • How to Hide Sizes Of Bolts in Bill Of Material
              • How To Modify Valve Tag
              • How to Obtain Different Descriptions for Trimmed Elbow in OpenPlant Isometrics Manager BOM
              • How to Remove Information from Isometric Output
              • How to Rotate Support Symbols in OpenPlant Isometrics Manager
              • How to Round Off Values After Decimal For Support Co-ordinates
              • How to Split the Components on Different Description and to Avail Different PartID in BOM
              • Managing Isometrics Styles
              • +Modifying Dimensions
              • +Modifying Symbols in OpenPlant Isometrics Manager
              • +Modifying Text and Annotation Settings
              • +Modifying the Isometric Content
              • +Setting File Type (DGN or DWG) and Paper Setting
              • To Specify Various Imperial Value Output Type in OpenPlant Isometrics Manager
              • To Concatenate Length Property in Description Field for BOM
              • To Define Symbology for Multiple Component State in OpenPlant Isometrics Manager
              • To Display Handwheel Orientation For GearBox Operator in OpenPlant Isometrics Manager
              • To Display Multiple Rows for Notes as Labels
              • To Display New Property in Description Field For BOM in OpenPlant Isometrics Manager
              • To Display Right Angle Operator Direction with Spindle in OpenPlant Isometrics Manager
              • To Display Support Orientation in OpenPlant Isometrics Manager
              • Additional 3D.DWG file Created in OpenPlant Isometrics Manager
              • How to insert spaces between PARTID labels in OpenPlant Isometrics Manager
          • +OpenPlant Isometrics Manager for AutoPLANT
          • +Release Notes - OpenPlant Isometrics Manager
          • OpenPlant Isometrics Manager [FAQ]
        • +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
        • How to get list of installed applications/programs on Windows Machine using Command Prompt.
        • How to get list of Windows Updates installed on the machine using Command Prompt.
      • +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
      • Your Feedback is important to us!

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

    How to Round Off Values After Decimal For Support Co-ordinates

       
      Applies To 
       
      Product(s):  OpenPlant Isometrics Manager
      Version(s): 08.11.09.404 & above
      Environment:  Windows 7 64 bit & Others
      Area:  Settings/Attributes
      Subarea: 
      Original Author: Rahul Kumar, Bentley Product Advantage Group
       

    To round off Support co-ordinates after decimal point in OpenPlant Isometrics Manager.

    Background

    While labeling the support co-ordinates in OpenPlant Isometrics Manager, values displayed with multiple numeric after the decimal point. It has been required to have the control with specific count after decimal. Below are the steps to achieve the desired settings.

    Steps to Accomplish

    1.  In Class Editor, Open ‘OpenPlant_3D.01.04.ecschema.xml’ schema and supplement it with ‘OpenPlant_3D_Supplemental_Isometrics_Isoextractor.01.04.ecschema.xml’ Schema.

    2. To add a Specific BOM Labels custom attribute on a Support Class an easiest way to do so is to copy it from some other class, say PIPE_BEND which already has it. See images below.







    3. Edit this custom attribute on Support class. Delete old entries.
    4. Add a new one for coord labels: SUP_COORD_LABEL.
    5. For a values use this expression: "X: " & System.Math.Round(this.SUPPORT_POINT_X,0) & "$Y: " & System.Math.Round(this.SUPPORT_POINT_Y,0) & "$Z: " & System.Math.Round(this.SUPPORT_POINT_Z,0). See image below:



    6. Edit the Labels, use $( SUP_COORD_LABEL) as a text value for user note on supports.



    7. Run the isometrics, see the coordinate output. If required you can modify label note, let’s say use EL instead of Z or any other letters instead of X/Y, like it is set for users default OPIM style.
      Notes:
      1. The “$” symbol in the BOM label value text adds a new line in the note itself.
      2. For Math.Round function, second attribute is defining how much round off values desired, Setting value as ‘0’ would leave no values after a decimal point. In case of precise value, use other integers.
    8. See results below:



    Check Another Case - Round Off Angle

    User wanted to display Bend Angle information with one value after decimal, rounding the values appears to be. Using the similar expression under "Specific BOM labels" custom attribute will aid user to achieve the desired settings. Below has been described in case of Pipe Bend class used while modeling and Angle associated with it. 

               

    Steps to Accomplish

    1.  In Class Editor, Open ‘OpenPlant_3D_Supplemental_Isometrics_Isoextractor.01.04.ecschema.xml’ Schema.

    2. Navigate to desired class "PIPE_BEND". 

    3. Check Custom Attrribute "Specific BOM Labels". Add Name and Value to it. See image below.

      Name - IE_BANGLE
      Value - System.Math.Round(this.ANGLE,1)



      Note - 0, 1, 2 is the precision value user can set to achieve. Also user may modify first attribute instead of creating a new entry(OPTIONAL).


    4. Open Isometrics Configuration and modify labels like shown in below image. R=$(BRADIUS)$$(IE_BANGLE)°



    5. Save & Close the configuration dialog. 

    6. Generate Isometrics & verify results.

    See Also
     http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/13379.enabling-annotation-of-support-co-ordinates-in-the-isometrics

    Comments or Corrections?

    Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!

    • apm
    • OPM
    • AutoPLANT Modeler
    • Angle
    • OPIM
    • 08.11.09.404
    • OpenPlant Isometrics Manager
    • support
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Fri, Oct 10 2014 10:58 AM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Mon, Dec 17 2018 1:21 PM
    • Revisions: 5
    • 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