How to add custom border in OpenPlant PID CONNECT Edition



Applies To 
Product(s):OpenPlant PID CONNECT Edition
Version(s):

10.09.00.74 Update 9

Environment: Windows 7/8.1/10 (64-bit)
Area: Customiztion
Subarea: Border
Original Author:Neha Chougule, Bentley Product Advantage Group


Background

A drawing border is necessary for any technical drawing. It defines the margin of the drawing space which is defined in ANSI/ISO and Din standards. The drawing border also contains the drawing title block which displays eg. Drawing name and other information. 

We can create a standard custom border with a custom title block. The following wiki will help users to create and add the custom border in OpenPlant PID CONNECT Edition

Steps to Accomplish

Import the Border DGN file

  1.  Open OpenPlant PID CONNECT Edition.


  2. Create dgn dile as Sample_Border_Custom & make the standard drawing sheet with a custom title block.


  3. As given below mentioned file location, Open cell file Miscellaneous.cel from the Workset's cell folder.

     C:\ProgramData\Bentley\OpenPlant CONNECT Edition\Configuration\WorkSpaces\OpenPlantExample\WorkSets\Imperial\Standards\OpenPlant\PID


  4. Click on the Model icon. The Model dialog box will be displayed as shown below.


  5. Click the Import Models icon. From Import Models from File dialog box, select your border file & click on Open. Refer to below images.






  6. Right-click on the 2D Imperial Design model & select Rename to Test Sample Border.


  7. Right-click on the Test Sample Border. Go to Properties.


  8. Do the changes as follows for Test Sample Border can place be placed as Cell as True.


     

    Add new Tag fields

    Most of the fields, such as “Drawn by” & “Checked by” and a corresponding dates are common in technical drawings. This drawing title block has some space for “Remarks”, which does not exist in the drawing headers delivered with the OpenPlant P&ID product. 

    OpenPlant P&ID uses tags to display drawing data. For your own drawing title block, you need to place those tags in the title block

  9. Load OpenPlant PID and Click on Explorer icon.

  10.  Go to Tag Sets. Right click on Tag Sets and Select Manage. Refer image as shown below.

  11. In Tag Set Dialog, Add TITLEBLOCK to Sets.


  12. Select TITLEBLOCK & click on Add as shown below.


  13. Define Tag Name & Default Tag Value as DRAWN BY. Refer below image.


  14. Click OK. Repeat same steps to add CHECKED BY, APPROVED BY, SIGN ,DATE, YEAR, NOTE.



  15. Close the Tag Sets dialog box by clicking the closer button.

    Add the Tags to new drawing Title Block.

  16. Go to Explorer. Go to Tag Sets. Right click on Tag Sets and click on Attach.


    Note :- Key-In for Tag Attach – attach tags

  17. Select the tag set TITLEBLOCK.


  18. Click any graphical object of the drawing titleblock, e.g. Border line or text.

  19. The Attach Tags [TITLEBLOCK] dialog box will be displayed showing all tags that are about to be placed.

  20. Click OK. All tag fields appear in one block on the cursor.

  21. Place the tags anywhere near the drawing titleblock. Refer below image.

  22. Select desired tag and click on Move tool. Move tag to its desired location as shown below.

    All tag fields have the same size. The correct size has to be applied to each tag field.

  23. Click the Change Text Attributes icon in the Text tool box. Refer below image.

  24. From Change Test Attributes Click on search icon.



  25.  Select the text style Document_large_m from the Text Style drop down menu.


  26. Click on "NOTE" text to change text attribute as shown below.

  27. You can select the text style Document_small_m and click all other tag fields.

    Note: All text styles with the suffix _i are optimized for imperial units. The text styles with the suffix _m are optimized for metric units.

    Add a new Class for the Custom Border using Component Manager Tool.

  28.  Go to Tools. Click on Click on Component in Managers ribbon group.

  29. In the component Manager dialog, Click on Create component on cell button.

  30.  Enter a component Class Name and Display Label. From the class list select Border Class & select Next. See image below.

    Note:- Enter Component Class Name must be in Upper Case and without Space.

  31. Under Build New Component window, select the cell library Miscellaneous.cel and the cell Test Sample Border. Refer below image.


  32. Click Finish.

  33.  The final step now is to add the new border class to the borders list. For this task, we need to work with the Bentley Class Editor. Open Bentley Class Editor.


  34. Open OpenPlant_PID.01.08.ecschema.xml schema.

  35.  Supplement it with OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml.


    Note:- Add missing references of OpenPlant PID schemas.

  36. In Class Editor, Navigate to Border List.

    For Imperial Project

     

    For Metric Project

  37. Under Class Name Display Lists custom attribute, right-click on Items > Add element, as shown below. (Repeat the same steps for Metric Project).



    1. Enter Display Name as Test Sample Border and Class Name as TEST_SAMPLE_BORDER as shown below.



    2. Save all the changes and reload the OpenPlant PID CONNECT Edition.

      1. Go to Tools. Click on Drawing in Managers ribbon group.



      2. In the P&ID document, Go to Title sheets. In the drop-down list, you can select custom border – Test Sample Border. By clicking ok, you can place a new border to dgn file.




          See Also

          communities.bentley.com/.../how-to-add-custom-border-in-openplant-pid

          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!