How to Round Off Values After Decimal for Pipe Bend in AutoPLANT - OpenPlant Isometrics


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.
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
 communities.bentley.com/.../how-to-enable-annotation-of-support-co-ordinates-in-isometrics

communities.bentley.com/.../modifying-dimensions

communities.bentley.com/.../modifying-dimensions-for-autoplant-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!