How to Prevent the Wafer Bolt Long Descriptions from being Modified


Applies To 
Product(s):AutoPLANT Modeler
Version(s):08.11.10.XXX
Environment: Windows 7 (64 bit)
Area: Customization
Subarea: 
Original Author:Dinesh Solanki, Bentley Product Advantage Group

Background

The steps below in wiki illustrate how to prevent wafer volt description from being modified. By default AutoPLANT uses long description from waferblt.ebs however it is sometimes required the long description should be read from the Specification. Below steps will help to get the long description from the specification.

Steps to Accomplish

  1. Open C:\Program Files (x86)\Bentley\Plant V8i\Modules\Base\common\waferblt.ebs using the Script Editor. 
  2. Go to Edit > Go to and enter Line 105.
  3. Comment out Line 105 and 106 by adding a single quote to the beginning of the lines as shown below:

    ' ModDesc = BoltCatalog & " " & BoltRating & " " &  BoltFacing & " " & BoltCount & " - " & BoltDiamStr & " X " & BoltLenStr & " " & BoltShortDesc
    ' Status = at_Component_putModifiedString(ModDesc, FastenerID, "LONG_DESCR")  

  4. Save and Close this file.
    Any Wafer Bolts placed within AutoPLANT from this point will not have modified descriptions.

  5. Open the C:\Program Files (x86)\Bentley\Plant V8i\Modules\Base\common \SPECUPD.EBS using the Script Editor. 
  6. Go to Edit > Go to and enter Line 193.
  7. Comment out Line 193 and 194 by adding a single quote to the beginning of the lines as shown below:

    '/status = at_Component_putModifiedString(newDescription, compID, "LONG_DESCR")  
    '/status = at_DbExt_put (newDescription, AT_DB_TABLE_PIPE, documentName, compID, "LONG_DESCR")

  8. Save and Close this file.
    Any Wafer Bolts placed within AutoPLANT from this point will not be modified during Update from Spec.

  9. For existing component run 'Update From Spec' command.

See Also

communities.bentley.com/.../10084.autoplant-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!