...
QEntityDoc
and QEntityRef
in the Hydrostatics
and Transverse planes
entities by drag/drop from the Knowledge Browser.QEntityData
, QEntityID
and QEntityName
.
You can add a picture in “QEntityDoc
”, which explains definitions of reference planes and the coordinate system of the vessel to the user in the Explanation window.
QEntityDoc
in Entity “Transverse planes” entity Transverse planes
and select the right mouse button menu Taxonomy>Include Binary Data or press Ctrl+B, see Figure 73. Browse to . Select the file thet you want to include , we propose (e.g. the provided picture “reference_planes.bmp
”).Comparable to assigning a reference to a parameter, you can assign a reference to an Entityentity. Behind As the included “value QEntityRef
” you can assign enter an unlimited Entity entity reference text, which will be shown in the html Explanation window. For example; “Define number of transverse reference planes”
You can use the You can use a @WBNAME parameter attribute to define a presentation name to the userdisplay name that differs from the name of the parameter itself. For example, you want to define a presentation display name “Number of transverse reference planes
” for “parameter Nr
”. Because you want this presentation name to be unique within Entity “for entity Transverse planes
” you cannot simply add the attribute to the data slot of the parameter.!
Right-click
Nr
Transverse planes
Taxonomy>Instantiate “Nr”
Ctrl+E
Now, the background of the Propertieswindow for this parameter the textfield turns to yellowFirst you have to select parameter “Nr” in Entity “Transverse planes” and select the right mouse button menu Taxonomy>Instantiate“Nr” (or Ctrl+E). Now for the parameter the textfield is shown yellow in the frame viewer for both the reference and data slot. This means that you are now able to set properties and provide a reference text and attributes for the parameter which differs differ from the global reference text and attributes for this parameter.
You can restore the parameter to the global settings by doing the same action, but now the option Set global ”Nr” is available instead of Instantiate “Nr”again pressing Ctrl+E or selecting Taxonomy>Set global ”Nr” from the context menu.
After instantiating making parameter “Nr” in Entity “Transverse planes” you can provide the following attribute in the Data Slot of the frame viewer; Nr
in entity Transverse planes
local in this way:
@WBNAME
:Number of transverse reference planes
...
...
Number of transverse reference planes
...
Name$
(make it local, @WBNAME
: Name of reference plane
...
Name of transverse reference plane
...
Info |
---|
Remember that you can define a display sequence of the parameters in a specific entity by setting @ORDER attributes for localized parameters. |
Finally the entity Transverse planes
should look like this:
Please note, you are able to define a presentation sequence of parameters (within a specific Entity) by providing @ORDER attributes forinstantiated parameters. See 2.3.2.4, for the explanation of @ORDER attribute.
Finally Entity “Transverse planes” should more or less look like Figure 74.
Figure 74: Entity "Transverse planes"
...