How You Can Replace the Contents of an External File
You can replace an old string in the database with the contents of an external file. To replace an old string with the contents of an external file, you would perform the following basic steps:
1. Set the value of the DBHandle attribute to the DBHandle for the string you want to replace.
2. Set the FileHandle attribute to the file name that contains the new string. OpenROAD copies the new string into the StringObject object.
3. Use the UpdateInDB method to remove the old string from the database and add the new string (the current value of the StringObject object) in its place.
4. Commit the changes to the database.