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

DB ExportFixWt and ImportFixWt
(Requires GHS version 17.00 or later)

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

The DB mechanism called "Family" was introduced in the AddFixWt COW. Ship Families store information that applies (or could apply) to more than one Ship (i.e. more than one Geometry File).

DB ExportFixWt copies everything in the current fixed-weight store (including light-ship weights) to the Family that the current Ship belongs to.

What gets preserved in the Family is simply a copy of the current fixed-weight store; it overwrites the fixed weights that may have been stored there before. (Other things stored in the Family are not affected.)

Here is an example of cargo that was carried aboard Camel, an ancient cargo carrier of the "ship of the desert" class.


When the command DB ExportFixWt was given, and since no Family had been established for the Camel, a dialog came up which looked like this:


DB ImportFixWt does the opposite, so whatever was in the Family store is copied and becomes the fixed-weight store for the current Ship.

Once the Family relationship is established, Import/export assumes that Family name.

But what if you want to change it? Both of these commands take a parameter which can be the name of a different family.

For example, DB ImportFixWt "ship of the desert" was used later to copy that cargo from the Camel to the Donkey, which is a class of much lesser cargo capacity.

If there is any question, and you want visibility about which Family is being used, then put a question mark for the parameter. For example, DB ExportFixWt "?" This results in the same dialog shown in the image above, and you can pick the Family or start a new one.

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

support@ghsport.com

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

www.ghsport.com

Click here for an index to this and previous COWs