Open topic with navigation
Update Aliases in PICScript
Use update alias to change the
assignment of horizons or grids in a PICScript
math script.
PICScript uses aliases
to represent surfaces (horizons and grids) and seismic attributes in your
scripts. This makes it possible to reuse the scripts by simply reassigning
the aliases at run time. The update alias procedure is the same whether
you are working with a saved script or modifying a script you have just
written to rerun it using different inputs.
Updating an Existing Script
- Open PICScript.
(Located on the Application toolbar under,
|.)
- Load
an existing script. When an script file is opened, PICScript
scans the file for aliased grids or horizons and issues a warning if no
match is found.
- Click <Scan Script
Update List>, on the Inputs/Outputstab, to check for unassigned aliases in your script. A declaration with an unassigned alias is
highlighted and a message is displayed.
- Click <Update
Alias>. Entire declaration is highlighted.
- Double-click a grid or horizon in the listing
to assign it to the declaration.
- To find and update other unassigned aliases,
click <Scan Script Update List>
again.
- Specify parameters and run the script. See
Running a Grid Script or Running a Horizon Script
Modify Aliases for Another Script Run
You may run a script, change output name and alias assignments, then
run the script again without closing PICScript.
- Enter a new Output
Grid Name or Output
Horizon Name.
- Click <Update Alias>. The first surface declaration in the script will be highlighted.
- Double-click a grid or horizon in the listing
to assign it to the declaration.
- If you do not wish to change this declaration,
click <Next Alias> to
highlight the next declaration and assign a new alias if needed.
- Use the <Next Alias> button to walk through the declarations
highlighting each for replacement.
- Specify parameters and run the script.