To add custom valve end conditions for valves in OpenPlant PID using existing graphics
User requested that they want to use WAF end conditions for valves from spec but the end conditions should look similar to flanged end conditions. This article will explain how can we use graphics of flanged end conditions from Valves cell library for the Wafer end conditions.
Launch Class Editor.
Load OpenPlant_PID schema and supplement it with OpenPlant_PID_Supplemental_Imperial schema.
Go to VALVE_END_CONDITIONS class and right click on it.
Select 'Add Derived Class' from the context menu.
Name the new class as WAFER_VALVE_END_CONDITIONS.
Go to FLANGED_VALVE_END_CONDITION class and right click on it.
Select Custom Attributes>Copy option from the menu.
Select the custom attribute and click Copy.
Now right click on WAFER_VALVE_END_CONDITIONS and paste this attribute.Note: This step is done since we are using flanged end conditions as template therefore we have added the information of the cell library as shown below.
Now switch to properties tab and select CONNECT_POINT_OFFSET property and override it.
Change the deafult Value in Property custom attribute as shown below.Note: Offset value has been taken from falnged end conditions class.
Go to END_CONDITIONS_LIST class and add the new end condition class in the list.a. Right click on the Items field and select Add Element.b. Add the details as shown below.Note: Class name should match with the name we given to the class in the step 5 above.
The above steps are sufficient to use the wafer end conditions for valve in OPPID. But if you want to place the valve from spec then you should add the mappings for the newly added end conditions. Below are the steps for spec mapping.Spec Mapping
Go to SPEC_VALVE_MAPPING class.
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!