Changes record numbers, status, category and/or SKEYS. The following CHANGE commands are supported:
Changes the FAB / EREC status (FAB / EREC / OFFSHORE / DEFAULT) on all records or on all records of a particular type. The command in the example below, changes all components to the Fabrication category.
CHANGE CATEGORY FAB | FABRICATION | EREC | ERECT | ERECTION | OFFSHORE | NONE |
DEFAULT ALL | nnn
CHANGE CATEGORY FAB ALL
-
Use DEFAULT to intelligently change the status dependent on record number or SKEY.
-
You can use STATUS instead of CATEGORY for backward compatibility. Sets word 14, position 1.
By SKEY:
CHANGE DUMMY-LEG-SUPPORT SKEY 'MAK4'
Detects the dummy reducer with the user-specified SKEY (MAK4 in the above sample syntax) and removes it, enabling dummy leg supports to be processed properly. This command relies on the dummy reducer being present and the user-specified SKEY being specific to the dummy leg scenario.
The command is only executed when the dummy leg support is attached to a teed elbow (IDF records 70, 71, and 72). After processing, the teed elbow is converted to an elbow (IDF records 35 and 36), and the coordinates are updated to reconnect the trunnion.
By Component Type:
When trunnions are poorly modeled, the imported IDF might result in drawing output that contains errors, such as a disconnected pipeline on a support connection. The commands listed below correct poorly modeled trunnions by removing the dotted "dummy" connection records in the IDF and connecting the trunnion leg directly to the tap record.
If multiple CHANGE DUMMY-LEG-SUPPORT commands are working in conjunction with each other, the CHANGE DUMMY-LEG-SUPPORT 'TEE' command must be executed first in the Piping Data Processor configuration file. See Processing Piping Data Files.
CHANGE DUMMY-LEG-SUPPORT COMPONENT 'CAP'
Reconnects trunnions to caps using a tap.
CHANGE DUMMY-LEG-SUPPORT COMPONENT 'ELBOW'
Reconnects trunnions to elbows using a tap.
CHANGE DUMMY-LEG-SUPPORT COMPONENT 'PIPE'
Reconnects trunnions to pipes using a tap.
CHANGE DUMMY-LEG-SUPPORT COMPONENT 'REDUCER'
Reconnects trunnions to reducers using a tap. The teed reducer is replaced with a reducer.
CHANGE DUMMY-LEG-SUPPORT COMPONENT 'TEE'
Reconnects trunnions to tees using a tap.
In all cases, the Piping Data Processor detects the dummy leg support by checking for the existence of the following:
-
a dotted pipe between the header and the dummy leg support
-
a dotted reducer between the header and the dummy leg support
If a dummy leg support is detected, the processor performs the following actions:
-
removes any dotted welds at the original tap point
-
removes the dotted pipe between the header and the dummy leg support
-
removes the dotted reducer between the header and the dummy leg support
-
moves the tap to match the location of the first real component in the dummy leg support
Changes a pipeline header attribute, such as -6, -11, and so on. You can also use the CHANGE HEADER command for -30 series records or any negative record in the body of the IDF.
Command Example |
Action to the IDF Record |
CHANGE HEADER '-11' |
Finds the current –11 record in the named text file name, and changes it to the value specified in the second column of the text file. |
CHANGE HEADER '-11' |
Finds the current –11 record in the named table/column of the specified Excel worksheet, and changes it to the value specified in the second column of the spreadsheet file. |
Sets the parameter that controls whether material is included in the Bill of Materials plotted on the isometric drawing.
CHANGE MATERIAL-LIST BOM-INCLUDE | BOM-EXCLUDE | BOM-INCLUDE-ISO ALL | nnn
You can also use this command to action a change based on the IDF record number and SKEY.
CHANGE MATERIAL-LIST BOM-EXCLUDE RECORD '105' SKEY 'ST10'
Changes a plain tee (one with no movement in the main leg and having 120 records) to a weldolet.
CHANGE PLAIN-TEES
CHANGE PLAIN-TEES 'XXXX' 'YYYY'
Where:
-
XXXX is the SKEY of the tee, the default. If you do not set an SKEY, the SKEY is TECP.
-
YYYY is the SKEY of the olet, the default. If you do not set, the SKEY is WTBW.
Changes the SKEY of the specified record.
Command Examples |
Action to IDF Record |
CHANGE RECORD '130' SKEY 'VV**' TO |
Change all 130 records with SKEY VV** to VT**. |
CHANGE RECORD '130' SKEY '**CP' TO |
Change all 130 records with SKEY **CP to **SW. |
CHANGE RECORD '107' TO RECORD '105' |
Change all 107 records to 105 records. |
CHANGE RECORD '105' SKEY 'FLBL' TO |
Change all 105 records with SKEY FLBL to 107 records. |
CHANGE RECORD '105' SKEY 'FLFL' TO |
Change all 107 records with SKEY FLFL to SKEY FLBL. |
The software performs the changes in order, so you can concatenate them. For example, if you want to change 105 records with SKEY FLFL to 107 records with SKEY FLBL you can use:
CHANGE RECORD '105' SKEY 'FLFL' TO RECORD '107'
CHANGE RECORD '107' SKEY 'FLFL' TO SKEY 'FLBL'
Changes the SKEY as specified.
Command Examples |
Action in IDF Record |
CHANGE SKEY '**CP' TO '**SW' |
Changes all SKEY’s ending with CP to SW. |
CHANGE SKEY 'VV**' TO 'VT**' |
Changes all SKEY’s starting with VV to VT. |
Changes the status of all records or all selected records.
CHANGE STATUS STANDARD | DOTTED-DIMENSIONED | DOTTED-UNDIMENSIONED ALL | nnn
As shown above, nnn is the IDF record number.
In the following example, the command changes all components to Fabrication.
CHANGE STATUS FAB ALL
CHANGE STATUS SIZE '<n' STATUS
Changes the status (Fabrication, Erection, Offshore, or Default) of all records based on their size. Express the size as a number in millimeters for metric or in 1/16ths for imperial. In the example below, the command changes the status of all components with a bore less than 21 mm to Erection.
CHANGE STATUS SIZE '<21' EREC
Sets word 11 position 6.
CHANGE STATUS STANDARD 100
Detects teed elbows (71 record) with no connecting components and changes them to standard elbows. Works for elbows having SKEY ET** or EL**.
CHANGE TEED-ELBOWS