Applies To | |||
Product(s): | AutoPLANT Piping | ||
Version(s): | 08.11.09.140 | ||
Environment: | Windows 7 64 bit | ||
Area: | Component | ||
Subarea: | Placement | ||
Original Author: | Artiom Jakubovic, Bentley Technical Support Group | ||
Background
As example AT_TOPWORKS_GEAROPERATOR class will be used. It is recommended that all files be copied prior to modification and the original be kept as a backup.
It is possible to define the topwork placed with a valve type in the valve spec record. To use particular topworks type with a specific valve type, define the topworks type in the Operator field of the valve’s specification record. By Default for Gear Operator only Dist A (HANDWL_LEN in Specification) and Diam C (HANDWL_OD in Specification) can be read from spec.
Steps to Accomplish
To read additional parametric variables following modifications should be done:
Edit topfunct.ebs (C:\Program Files (x86)\Bentley\Plant V8i\Modules\Base\common).Define additional variable in Topworks_inputGearOperatorDialog function that is used to get parametric variables from Valve Specification for Gear Operator.
Next, modify script to read additional values from specification.
Edit required Catalog , using Catalog Editor, and add additional fields to valve table that contains required valve. Please make sure that new Field Type is Number and Filed Size is Double.
For "Dist B" field in Gera operator dialog add ANDWL_LEN2, for "Dist D" field - HANDWL_LEN3, and for "Offset E" field HANDWL_OFFS. Define values and re-build catalog and then specification.
Copy of the topfunct.ebs file with above changes: topfunct.zip