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

Hull and Outfitting

Block - Create from CSV

  • Last UpdatedDec 13, 2023
  • 1 minute read

Purpose:

To create or update blocks with data given in a CSV file.

Prerequisites:

None.

Instructions:

The CSV file is selected within a dialog and all blocks in the file are created or updated according to the given data.

File Format:

<Type(D or P)>, <Name,> <Nom. Aft>,<Nom. Stbd>,<Nom. Bot>,<Nom. For>,<Nom. Port>,<Nom. Top>,<Encl. Block>,<Offset Aft>,<Offset Stbd>,<Offset Bot>,<Offset For>,<Offset Port>,<Offset Top>,<Limit Aft>,<Limit Stbd>,<Limit Bot>,<Limit For>,<Limit Port>,<Limit Top>,<Sym>,<Colour>

  • The first row in the file is treated as comment and will not be processed.

  • The Type character (D or P) is given if it is a Design Block or a Production Block that shall be created.

  • The nominal coordinates of the block are given as X, Y and Z coordinates. Frame and LP positions are possible to use.

  • The Enclosing Block name is the name of the design block that encloses the production block to be created. Only needed when creating Production Blocks and when the project also contains Design Blocks.

  • Offset values are given in mm.

  • The limiting objects are given with a prefix defining the type followed by the name of the limiting object. The prefix are SUR/ for surfaces, RSO/ for reference surfaces and PLA/ for stored planes.

  • Symmetry definition is given as Yes or No.

  • The colour code is given as an integer.

If a block description is given in the file and the block already exists, then the block is updated only in case the block is actually changed.

Options:

Not available.

Result:

Blocks are created and updated.

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