General HydroStatics
Ship Stability Software
Command of the Week
(New or interesting aspects of GHS that you may not know about)

DB CopyShip
(Requires GHS version 17.00 or later)

(Use the command DB Update to get the latest version of the Data Base software.)

The Data Base stores data pertaining to a particular Geometry File in a folder having the same name as the Geometry File name. We call this the Ship Folder to distinguish it from the Geometry File which may (but not necessarily) be stored within the folder named after it.

Note: DB PutShip puts a copy of the Geometry File into the Ship folder. Read about that here.

DB CopyShip makes a copy of a given Ship folder under a new name. It yields two Ship Folders that are identical except for the name. The new folder might be the starting point of a sister ship, for example.

Another use could be to record a stage of development, using a name for which no Geometry File exists. Then the data in the new folder will be secure from accidental changes. However, if DB PutGF has been used, there will be a copy of the GF in the Ship folder, which can be accessed via DB GetGF, thus making that Ship Folder active. DB DeleteGF can be used to prevent this.

DB RenameShip is provided for changing the name of a Ship Folder.

The last command of this trio is DB DeleteShip, which can be used to eliminate any Ship Folder that has outlived its usefulness. (Don't forget DB BackupDB.)

Questions, comments, or requests?
Contact Creative Systems, Inc.

USA phone: 360-385-6212 Fax: 360-385-6213
Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday

Mailing address:
PO Box 1910
Port Townsend, WA 98368 USA

Click here for an index to this and previous COWs