Cannot Update Calculated Bolt Lengths in Description Field


Applies To
Product(s):OpenPlant Modeler
Version(s):08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Component
Subarea: N/A
Original Author:Rahul Kumar, Bentley Product Advantage Group

Overview

During the placement of bolts in a component, the description field value does not update the bolt length (BOLT_LEN) calculated value and takes the default as per the value defined in Spec and hence taken up the same by user. 

Problem Description

Bolt length calculation is being done prior to the placement of bolts and hence it shows the selected bolt length available in spec grid. In description field the BOLT_LEN property value does not takes the updated value. See specific generator entry for bolts where it has been described:



It is expected to show an updated value for bolts after placement. To have the updated bolt length in description below customization required:

Steps to Resolve

  1. In OpenPlant Specification Generator, for BOLTS section, define only the fixed variable in Long Description column and rest can be defined in schemas. See below image:



  2. In Class editor, open OpenPlant_3D.01.07.ecschema and supplement it with OpenPlant_3D_Supplemental_Modeling .01.07.ecschema.

  3. Add a new Property LONG_DESCRIPTION which defines the Long description value to it. Add custom attribute as shown below. Set the PropertyName field as LONG_DESCR.



    Copy Custom Attribute





  4. In BOLT class, under DESCRIPTION property, add new custom attribute Calculated ECProperty Specification and add  EC Expression to it as mentioned below:

    this.BOLT_DIAMETER & """" & "-" & "X" & this.BOLT_LENGTH & "-" & this.LONG_DESCRIPTION



  5. Save and close Schema and verify the description in OpenPlant Modeler. It will provide updated information in it. See below with updated description.



  6. Like mentioned in above point, Long Description of Spec need to be customized to avoid the other property and to have them separately after customizing schema. For Spec description we have created a new property LONG_DESCRIPTION and under DESCRIPTION property we have defined an EC expression to show desired properties.

  7. However user may also customize as per their requirement in various ways and may define the expression as desired.

Still a Problem?

If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group.  Please include a list of all relevant details to get in depth analysis for a solution or workaround. 

See Also

communities.bentley.com/.../14484.how-are-bolt-lengths-calculated-in-openplant-modeler

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!