Appendix: Sample Processor Configuration File - Intergraph Smart Isometrics - Version 5 - UPDATED - Help - Hexagon

Piping Data Processor Help

Language
English
Product
Intergraph Smart Isometrics
Search by Category
Help
Isogen Version
13.0(2016)

! Script file for IDF Pre Processing IDF Files

!

! Sample file Created DJW 05th February 2003

!

! Commands for preprocessing IDF files

!

! Note! - No error checking of text is performed - try on a sample first.

!

! ADD-MODELCODES 'C:\SampleProj\Data\Modelcodes.txt' '|'

!       Adds PDS Model Codes or other component attributes to the IDF file.

!       Using the -37 record following the component in the IDF,

!       will use this as the component tag.

!       For the model codes file if the pipeline reference and the tag are

!       found and the bore matches, the Tag will be added to the IDF as

!       both a -22 and -45 record, the model code or other attribute will be

!       added as a -44 record.

! Name of Model codes file in quotes

! Delimiter in quotes

!

! ADD-ATTRIBUTES accepts 3 parameters

! Name of Attribute file in quotes

! Delimiter in quotes

! Optional Attribute value in quotes (will default to -601 if unset)

! The value used will be for the second attribute in the file

! first being Pipeline reference - next will be n -1

! Attributes are added after the -6 record.

! Note! If you pre-process a file twice - two lots will be added.

!

! ADD-ATTRIBUTES 'C:\SampleProj\Bayer\Data\Attributes\dokument.txt' '>' '-601'

!

! SPLIT - Splits a single record into two records

! example SPLIT RECORD 130 TO RECORD '95' AND '96'

! Will split all 130 records

! Optional SKEY to control by SKEY

!

! SPLIT RECORD '130' SKEY 'SG**' TO RECORD '95' AND '96'

!

! CHANGE RECORD - changes a record number AND / OR an SKEY

! example CHANGE RECORD '107' TO RECORD '105'

! Will change all 107 records to 105 records

! Optional SKEY to control by SKEY

!

! CHANGE RECORD '-37' 'XX' TO RECORD '-28'

! Will change all -37 records containing the string XX to -28 records.

!

!

! CHANGE SKEY - changes an SKEY

! example CHANGE SKEY 'VV**' TO 'VT**'

! Will change all VV Skeys to VT

!

! CHANGE SKEY 'VV**' TO 'VT**'

!

! CHANGE STATUS - Changes the FAB / EREC status (FAB / EREC / OFFSHORE / DEFAULT) ALL / nn

! example CHANGE STATUS FAB ALL

! Will change all components to FAB

! Use DEFAULT to intelligently change status

! dependent on record no / Skey

!

! CHANGE STATUS DEFAULT ALL

!

! DELETE / REMOVE

! - Deletes records

! example DELETE RECORD '-39'

! Deletes all -39 records

! Optional SKEY eg. DELETE RECORD '149' SKEY 'FLOW'

! DELETE FLOW-ARROWS - Deletes flow arrows

! DELETE CONTINUATION - Deletes continuation components

! DELETE INSULATION   - Deletes Insulation Symbols

! DELETE LOCATION  - Deletes Location points

! DELETE FLOOR   - Deletes FLOOR SYMBOLS

! DELETE WALL   - Deletes WALL SYMBOLS

! DELETE @   - Deletes @ characters from the end of records

! DELETE DRAWING-SPLIT-POINTS -   Delete Drawing split points (From Body of IDF)

! DELETE REFERENCE-DIMENSIONS -   Delete Reference Dimensions.

! DELETE SPECIAL-TEES START/ END/ MIDD/ ALL - Detects and removes any special status

! or continuation set-on tee's which are at the end of a pipe leg.

! START - at the start of the IDF file.

! END - at the END of the IDF file

! MIDD - In the Bulk of the IDF file

! ALL - all occurences

!                                                   

! Note! - Delete will also delete any following -1 or 0 records.

!

! DELETE RECORD '-39'

!

! *** Changes are performed in order, thefore you can concatanate 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'

!

! AUTO-CHANGE REDUCING-FLANGES

!

! Will automatically detect a reducing flange which has equal bores,

! it will change this from a 65 record to a 105 record, it will also

! change the SKEY from FLRC to FLSO.

!

! AUTO-CHANGE RELIEF-VALVES

!

! Will automatically detect an Angle Instrument 90/93 with an skey of RA**, if no movement is

! detected in either the 90 or 93 record, the skey will be changed to RV**.

!

!

! SET-MATERIAL-POINTERS RECORD '40'

!

! Will set material pointers to pipe on the specified component record number if the pointer on

! the record is 0

! SET-MATERIAL-POINTERS RECORD '40' OVERWRITE

! SET-MATERIAL-POINTERS RECORD '40' SKEY 'WTBW'

! SET-MATERIAL-POINTERS RECORD '40' OVERWRITE SKEY 'WTBW'

! SET-MATERIAL-POINTERS RECORD '40' SKEY 'WTBW' OVERWRITE

!

! Optionally use the SKEY if required.

! Use the OVERWRITE keyword to change pointers which are already set.

!

!

! TRUNCATE-PIPELINE-REFERENCE n

!

! Will remove n characters from the end of the pipeline reference

!

! TRUNCATE-PIPELINE-REFERENCE 1

!

!

! MAP-ATTRIBUTES-BY-POSITION 'C:\SampleProj\BASF-PDMS\Data\IDF\Project\Pre- Process\BASF.POS'

!

! Revises the attributes (e.g. -600) used so that they match those specified in a

! SPOOLGEN OPT or I-Sketch POS file. Some extraction routines (e.g. PDMS) can use

! different attributes for the same data item, so it is not possible to use a single

! OPT/POS file to plot different IDFs on the same backing sheet.

!

!

! SETWORD 11 POSITION 5 TO 1 RECORD '115'

! SETWORD 14 POSITION 1 TO 3 RECORD '160' SKEY 'BOLT'

! Set a particular word / position


Comment lines must start with a '|'.