Blocks, Create and Maintain
- Last UpdatedFeb 03, 2023
- 1 minute read
The function requests an input file in CSV format.
The file has the following 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>, <envelope>
-
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.
-
The name of the envelope to be used when generating the block geometry.
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.
Furthermore, if Type is given as keyword DELETE, the block with given name is deleted.