Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

2D Import

  • Last UpdatedDec 14, 2023
  • 2 minute read

Purpose:

To import the content of an XML file in TXHBD format, automatically create a parallel midbody surface, shell structures, RSOs and plane panels, and store it in an AVEVA Marine project.

Prerequisites:

The program has to have access to a databank connected to SB_OGDB, SB_CGDB and SB_TID.

The MainParticulars section containing ship parameters must be present in the XML file.

The functional properties occurring in the XML file need to be specified according to the pre-defined Functional Descriptions of AVEVA Marine. Refer to User Guide Hull Model Concept / Functional Descriptions / Pre-Defined Functional Description for further information.

XML input data from GL Poseidon:

Germanischer Lloyd use a small subset of functional descriptions in their XML export. It is possible to provide them as a list in a text file:

descr, 9018 /value = ' DECK';

descr, 9019 /value = ' WEATHER_DECK';

descr, 9020 /value = ' INNER_BOTTOM';

descr, 9107 /value = ' LONGITUDINAL_BULKHEAD';

descr, 9304 /value = ' LONGITUDINAL_GIRDER';

descr, 9508 /value = ' OUTER_SHELL';

descr, 9604 /value = ' HATCHWAY_SIDECOAMING';

Then add these environment variables to enable GL specific XML import:

GL_ENABLED                    YES

GL_FUNCTIONAL_PROPERTIES      [Pathname]\[Filename]

This will add the GL specific functional descriptions to the correct group of pre-defined functional descriptions.

Instructions:

In the dialog, the name, suffix and extension of the midbody surface have to be given. The suffix is irrelevant when the name of an existing surface is selected.

The name of a block for the plane panels has to be typed in. If a block with the given name already exists this one will be used. The block extension may be adapted to the size of the midbody but it will never be decreased. Otherwise a new block will be created: a design block in a multi-view or empty project or a production block in an ordinary project. When the project is empty and a production block is wanted the block needs to be created prior to the import.

The program will also prompt for the location of the XML file.

Options:

If overwrite General Particulars object is checked the general particulars stored in the databank will be overwritten with the imported ship parameters.

If overwrite FR/LP positions is checked then the FR/LP positions from the XML file are used to convert the input data and overwrite the stored coordinate tables. Otherwise the coordinate tables from the file are ignored.

Result:

The XML file will be parsed, and the created objects will be stored in the databank connected to SB_OGDB, SB_CGDB and SB_TID. Existing objects with the same name will be replaced.

Related Links
TitleResults for “How to create a CRG?”Also Available in