Global Filter

<< Click to Display Table of Contents >>

Navigation:  ShipWeight Basics >

Global Filter

ShipWeight Basics

Example: Using Global Filter for Handling Loading Conditions

This example will explain how to handle different loading conditions in the main window in ShipWeight. In the following project we have defined Lightship with margin items and Loads items, which together make up the total Displacement for the project:

MainWnd_GlobalFilter

Now, if we expand the Lightship, we can notice this is made up by the typical summary of the 1 through 700 digit SWBS numbers:

MainWnd_GlobalFilter2

If we expand the load group, we will see that the load is made up by summarizing A loads, C loads and F loads:

MainWnd_GlobalFilter3

This is just a summary of all loading conditions, and thus the total displacement in this case which is the summary of the Loads and the Lightship doesn’t make sense, it does not represents one particular loading condition.

So, now we will apply global filters to set up various loading conditions, that would be meaningful, in the main window and also in running other functions in ShipWeight like weight distribution curve, gyradius function, and so forth.

We will create loading conditions using the global filter. The global filter setting can be seen in the upper right side:

MainWnd_GlobalFilter4

Click the browse button (to the right of the Filter droplist). The Filter window will open:

FilterWindow

Now we will create global filters for our various loading conditions. First we will create a lightship condition for the lightship weight. Start by giving a filter name, and create the actual filter as following:

FilterWindow2

Global filter setup:

(WgtGrp Not Like ‘[ACF]%’)

meaning: SWBS groups should not start with A, C, or F

Then press the Save button.

In the window below we can see the global filter was created:

FilterWindow3

This filter means that we should not include weight groups that starts either with ACF and weight groups that starts with this having other letters or numbers after these letters (this is what the percentage % represents).

Now, we will create a filter for the full load condition:

FilterWindow4

And also define minimum load filter:

FilterWindow5

And finally the Capacity loads filter:

FilterWindow6

So now, all the needed filters are created and available in the dropdown list:

FilterWindow7

Select from the list, the Lightship filter and then press OK. It will be visible in the Filter area:

MainWnd_GlobalFilter5

Starting with the lightship filter, it will remove all the other loads, and we are left only with the lightship:

MainWnd_GlobalFilter6

Now if we pick from the filter’s list the Full load, it will show in the tree the lightship and also the full loads values:

MainWnd_GlobalFilter7

We can also check Minimum Load filter:

MainWnd_GlobalFilter8

All the filters are global, meaning that they will be valid, not only for the main screen, but also for the item window, without the details, now we only see A Loads and Lightship items, and also when running weight distribution curve, gyradius, etc. then these functions in the ShipWeight application can now be run for these global filter settings.