How to Perform Calculations on Product Code (PCode) values


 Product(s):Bentley Raceway & Cable Management
 Version(s):CONNECT Edition (10.05.00.54)
 Environment:N/A
 Area:N/A
 Subarea:N/A
 Original Author:Aadarsh Tale

Background

Many manufacturers have numerous catalogues with items and PCodes, due to which sometimes on the user end arises a need to change the PCode depending on the geometric dimensions of the item.

Bentley Raceway and Cable Management, lets you perform the basic mathematical calculations on PCodes by adding calculated strings in the PCode xml files inside the standard dataset.

Steps to Accomplish

  1. Launch Bentley Raceway and Cable Management. Select the WorkSpace , WorkSet and open the Raceway design file.

  2. Now, Open the Raceway Router tool from the Raceway ribbon tab.


  3. From the Raceway Routing Tool, Select Cable Tray as the system.
    Select the OBO Cable Tray MKS 60 catalog.


  4. Choose a desired catalog Variant and configure other settings as needed.
    Click Route and place a straight raceway part.


  5. Select the Place Part tool to place a fitting.


  6. Now select Reducer Right from the Fittings and select the 300 mm Right Trade Width. Click OK and place the fitting.


  7. Route the reduced width straight part as shown in image below.

     
  8. Select the Object Info from the Manage ribbon tab and Select the reducer fitting.
    Here, you can see all the information of the selected object and with the help of catalog i.e OBO and description value in the image below you can easily find the catalog file in your dataset.



    Note: Copy the GUID for Fitting as you will need it in coming steps.
     
  9. Open the PCode XML file for example “CAT_OBO_Cable_Tray_MKS_60_PCode_EN” from the standard dataset’s raceway folder.
    Note: C:\ProgramData\Bentley\BRCM CONNECT Edition\Configuration\Workspaces\BRCM Metric Example\Standards\BRCM\std_dataset\raceway
  10. Search the Reducer fittings with Fitting GUID and match the Variant and the RightTrayWidth.
  11. Change the PCode fitting Value to “ RWEB ${($VATradeWidth)-($RT)}($UTMaterial)” and save the file.


  12. Restart Bentley Raceway and Cable Management and open the Raceway design file.
    Select the Output Manager from the Output ribbon tab.


  13. Click on Detail_BOQ and Select Resources.


  14. Select the design file from the Collaboration Manager and lock the resources.
    Press Ok to proceed.


  15. Now click on the Preview option to see the detailed report.


  16. Here, in the Product Code field for the reducer, you can see that the output is the result of the calculation string which we have introduced in the PCode XML file.

See Also

communities.bentley.com/.../raceway-design-tools---bentley-raceway-cable-management

Still a Problem?

If above problem still persists, 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.

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!