Applies To | |||
Product(s): | AutoPLANT Piping | ||
Version(s): | V8i | ||
Environment: | N/A | ||
Area: | N/A | ||
Subarea: | N/A | ||
Original Author: | Joey Bertone, Bentley Technical Support Group | ||
In Pipet spec records some users may want to populate the Schedule field for BOM purposes. Pipet spec records in AutoPLANT are only populated with the rating value which is a necessary requirement for connection to flanges. Once the Schedule field is populated flanges will not connect to the Pipet because the Pressure Class for the flanged end is now set to the schedule.
Pipet Olets use a general olet type port method. By using the olet port information AutoPLANT will write Schedule or Rating to the pressure class port with Schedule being passed with priory over Rating if both are available.
To correct the Pipet trouble with Schedule a new port type must be added to the PORTS.INI file and the 3 Pipet classes must reference the new port type in the CLASS.INI. Once the files are edited, flanges will place on Pipets with a schedule value.
Add the following to the entry to the PORTS.INI File. The port record is specifically for the 3 types of Pipet type Olets and will only be used by the Pipets Olets once all changes in this Technote are complete.
The modification of the original Olet port record [OletPorts] necessary for Pipets was the removal of SCHEDLUE from Port2.PCL (Pressure Class). Port2 is the designation for the flanged side of a Pipet. With SCHEDLUE set as a first value to be pulled for port2 rating was not being pulled as a port2 value. When a flange is connected to the Pipet the flange is checking the Pressure Class value and it only reads an incompatible SCHEDLUE value thus displaying an error.
;// Pipet specific port type
[OletPortsPipet]
Port_Names = Port1; Port2
Point_Names = CP
Def_Ins_Port = Port1
Traversal = CP, Port2, xDir, World_XDir; Port1, CP
Port1.ND = MAIN_SIZE
Port1.EC = TAP
Port1.OD = PIPE_OD_M
Port1.Loc = ...
Port1.WC = ...
Port1.Dir = ...
Port1.WDir = ...
Port1.Orient = ...
Port1.PCL = SCHEDULE; RATING
Port1.Fac = FACING_1
Port1.EL = 0.0
Port1.FDir = 0
Port2.ND = BRAN_SIZE
Port2.EC = END_COND_1
Port2.OD = PIPE_OD_B; PIPE_OD_M
Port2.Loc = ...
Port2.WC = ...
Port2.Dir = ...
Port2.WDir = ...
Port2.Orient = ...
Port2.PCL = RATING
Port2.Fac = FACING_2; FACING_1
Port2.EL = SKT_DPTH_B;THD_ENG_B
Port2.FDir = 0
Now that a new port is created specifically for Pipets the class definition must now reference the new port type. The default Pipet classes do not have a PORT_KEY defined because they default to the base olet class's PORT_KEY. Each Pipet class must have the PORT_KEY = OletPortsPipet inserted into each class definition.
Copy and paste the following into AT_STRPIPET, AT_PIPET, and AT_ELBOWPIPET.
;// Pipet specific PORT_KEY added
PORT_KEY=OletPortsPipet
Or copy and paste over the 3 classes with the following.
[AT_STRPIPET]
PARENT_CLASS=BASE_OLETS_CLASS
METHOD_KEY=AT_STRPIPET
SPEC_KEY=STRPIPET
PICT_NAME=PIPET_STRAIGHT
CLASS_DESCRIPTION=Base Straight Pipet
;// Pipet specific PORT_KEY added
PORT_KEY=OletPortsPipet
ISOLENGTH_KEY=AT_PIPET
SHORT_DESC=PIPET
SPEC_GROUP=OLET
BRANCH_CODE=OL
[AT_PIPET]
PARENT_CLASS=BASE_OLETS_CLASS
METHOD_KEY=AT_PIPET
SPEC_KEY=PIPET
PICT_NAME=45_PIPET
CLASS_DESCRIPTION=Base 45° Pipet
;// Pipet specific PORT_KEY added
PORT_KEY=OletPortsPipet
ISOLENGTH_KEY=AT_PIPET
SHORT_DESC=45 PIPET
SPEC_GROUP=OLET
BRANCH_CODE=P
[AT_ELBOWPIPET]
PARENT_CLASS=BASE_OLETS_CLASS
METHOD_KEY=AT_ELBOWPIPET
SPEC_KEY=ELBOWPIPET
PICT_NAME=PIPET_ELBOW_FLANGED
CLASS_DESCRIPTION=Base Elbow Flanged Pipet
;// Pipet specific PORT_KEY added
PORT_KEY=OletPortsPipet
ISOLENGTH_KEY=AT_PIPET
SHORT_DESC=EL FLG PIPET
SPEC_GROUP=OLET
BRANCH_CODE=EP
Bentley Technical Support KnowledgeBase
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!