Custom Settings
1. Hide a custom field
1. Set options so that no custom fields will be shown in “blank” (no) setting in Item dialog. See figure 1 below.
2. Make an Item Setting that includes your restricted custom field(s) and for this item setting, set “User Group” to “sysadmin”. This will make sure that only members of the sysadmin group can access the Item Setting that gives access to the restricted custom field(s).
3. In all other Item Settings, make sure your restricted fields are moved to the “Hidden” group category in the Item Setting.
4. Remove access to Item Setting in the permission system for other groups than sysadmin group
Figure 1:
2. Mapping between codes
From the View menu the Code mapping dialog can be opened. This dialog enables the user to create a map between any of the code types.
To create a map, first select the two code types: Code 1 and Code 2, e.g. Module- and Section codes. Then select the values that are to be connected. Pairs of linked values can be added, edited and deleted by the buttons at the right-hand side of the dialog.
Code maps can either be imported directly from other ShipWeight projects or via an ASCII-file.
Please note that the map is not two-way. In the example below, modules are linked with corresponding sections. To create a map that works the other way round, press the Inverse map-button.
3. Move weight and center of gravity
If you want to move certain weight groups quickly to see the result on the center of gravity of the total lightship, select Move CoG… in the Weight group menu.
First select in which direction to move the weights by selecting one of the tab buttons at the top of the dialog (VCG, LCG or TCG). Then click the browse button […] at the right of the Top post field to select the weight group to be moved. Next set the interval for the groups to move.
To set the start and end limit for weight items to be included in the move, check off the option Restrict limit, and fill in the editboxes.
The Move Options provides three ways of moving the weight-items:
Check CoG & move absolute – this will move the VCG, VCG_min and VCG_max of all weight items with VCG within the move limits.
Check distr. & move absolute – this will move the VCG, VCG_min and VCG_max of all weight items with either VCG, aft or fore within the move limits.
Check distr. & scale – this will move the VCG, VCG_min and VCG_max of all weight items with either VCG, VCG_min and VCG_max within the move limits. Items partly within specified limits will be scaled depending on VCG_min and VCG_max values.
Optionally, you can add a filter to select the weight items to be moved.
Finally click the Move button to execute the move.
4. The code definition dialog
The purpose of the Code definition dialog is to define a set of codes and code-values which can be tagged to a weight item. It is possible to define up to 99 different codes (C01-C99).
The Code definition dialog can be accessed from the View menu in the main window, from the View menu of the Items dialog or by pressing the ‘Code definition’ button in the Item setting dialog.
The code definition dialog PDF
5. The code envelope dialog
The Code envelope dialog offers a convenient way of checking the items tagged to a user defined code structure. To open the dialog, select Code envelopes on the View menu.
The dialog is divided into two parts: a tree view for browsing the code structure on the upper part, and the plot area on the lower part. By selecting one of the groups in a code structure, the items tagged to this group will be plotted both in the XY-plane and the XZ-plane. In the plot each item is represented by a number. The items are also listed.
6. User defined estimation methods
The user can define own methods and store them as a user defined set of methods. The user-defined methods are defined in the Define methods… dialog box, which can be found under the Estimation menu. By default the ShipWeight methods are included. The user can edit these to customize own methods.
First the user must select the weight group in the tree-structure to the left to find the method he wants to edit. The estimation method parameters are shown in the midsection of the dialog box, and can be edited directly here. New parameters can be chosen from the list to the right.
Use the buttons Add and Edit to change parameters in the method. Click the estimation powers directly in the middle list to edit the power value.
The new defined estimation methods can be used in the Auto estimation dialog by setting the radiobutton to User defined in the method dialog, or by selecting User defined under the Estimation menu in the main estimation dialog.