SB028 - Handle Standard Objects
- Last UpdatedNov 28, 2025
- 3 minute read
The program sb028 is used to administrate the standard books in the system:
-
Standard Details
-
Standard Hatch Patterns
The following tasks can be performed:
-
Listing all page descriptions
-
Creating pictures of all or specific pages
-
Moving pages or standards
-
Changing descriptions of pages or standards
Environment Variables
-
SB028_LIST
When listing standard page descriptions, the name of resulting list file is controlled by this logical variable.
If not assigned, "sb028.lst" will be used
-
SB028_DWGNAME
When creating pictures for standard page illustration, the first part of the name of the resulting drawing(s) should be assigned to this logical name.
If not assigned, 'SB028_DWG' will be used.
Each drawing created will then be stored under the name given by this logical, suffixed by the type of book and the corresponding page number within that book.
The full name of the drawing will then be:
<translation of SB028_DWGNAME> _STD <type of book> _P <page number>
where <type of book> is:
-
1 for standard details,
-
2 for standard hatch patterns
-
-
SB028_AUTOSC
When creating pictures for standard page illustration, each standard object will be autoscaled (that means, maximized within available area) if this logical name is assigned.
Required Drawing Form
When creating pictures for standard page illustration, the drawing form named STDFORM is required. See below for further information.
Description of the Different Tasks
The book to handle is selected from the main menu. To quit, select Exit program. Once the book is selected, the specific task to perform is selected from the task menu. To return to the main menu, select Return to main menu. Below, the different tasks are described. If not otherwise stated, <CR> means go back one step in the sequence of user input.
List All Page Descriptions
This function will add to the list file all page descriptions defined in the current book. The same information will also be displayed on the screen.
Create Pictures of all or Specified Pages
This function creates drawings that illustrate standard pages. The drawings can, after storing them, be printed like any other drawing.
Move Whole Page
This function moves a whole page within the current book. The source page, followed by the target page is supplied by user.
Move Standard
This function moves a standard from one page to another within the current book.
First, the source page and standard within the page are supplied (the numbers of existing standards within the page are listed). Secondly, the target page and standard within that page are supplied. Overwriting is not allowed, so the target standard must not exist (the numbers of non-existing standards within the page are listed).
Change Page Description
This function allows the user to change the description of a certain page. By giving the page number, the old description is displayed, where after the new description is supplied by user.
Note: <CR> means step back, while one or more spaces makes the description empty.
Change Standard Description
This function allows the user to change the description of a certain standard. By giving the page number, the existing standards within that page are listed. By giving the desired standard number, the old description is displayed, where after the new description is supplied by user.
Note: <CR> means step back, while one or more spaces makes the description empty.
Creation of a Drawing Form for SB028
When creating pictures for standard page illustration, the drawing form named STDFORM is required. This form is part of the delivery but can be modified using appropriate functionality in Marine Drafting if desired.
The drawing form has some rules that controls the position of each standard, page number and description. standard description The form must contain exactly 8 positions for standards.
For general information on rules and dynamic texts, see Drawing Forms and Rules. The following rules controls the layout of the form:
|
$200 |
Page Description |
|
$400 |
Head line (STANDARD DETAILS or STD HATCH PATTERNS) |
|
$401 |
Page number |
|
$300, $301 |
Position of first standard (lower left and upper right corner) |
|
$302, $303 |
Position of 2:nd standard (lower left and upper right corner) |
|
$304, $305 |
Position of 3:rd standard (lower left and upper right corner) |
|
$306, $307 |
Position of 4:th standard (lower left and upper right corner) |
|
$308, $309 |
Position of 5:th standard (lower left and upper right corner) |
|
$310, $311 |
Position of 6:th standard (lower left and upper right corner) |
|
$312, $313 |
Position of 7:th standard (lower left and upper right corner) |
|
$314, $315 |
Position of 8:th standard (lower left and upper right corner) |
|
$1 - $8 |
Description of each standard |
|
$100 - $107 |
Scale of each standard |