How To: Automatically add more than 1 fiducal (row) to a database at a time
Problem/Symptom:
I want to manually add many rows (fiducials) to a database at one time. Currently, if you right-click on the row channel, you can choose 'Insert Rows/Fids' (addfids.gx), but this will only add one at a time. I want to add 10000 new rows, and having to right-click 10000 times is too much.
Environment:
This resolution applies to any database (GDB) in any version of Oasis Montaj or Target. The work-around below is relevant to v7.0.
Resolution:
1) Record a script (GX > Scripting > Record Script; Record Script button).
2) Insert a Row/Fid to your GDB, and stop the script.
3) Open the script (GS) file in notepad, and edit the line:
SETINI ADDFIDS.NUMBER="1"
4) Change the value from 1 to however many values you'd like, e.g.:
SETINI ADDFIDS.LINE="L0"
SETINI ADDFIDS.FID_START="0"
SETINI ADDFIDS.FID_INCR="1"
SETINI ADDFIDS.START="1"
SETINI ADDFIDS.NUMBER="10000"
GX addfids.gx
5) Save the GS file.
6) With your GDB open, play the script file you just created, and the 10000 new rows will be added to your GDB.
