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

Hull and Outfitting

Functions

  • Last UpdatedNov 27, 2023
  • 1 minute read

block_new(name, MinPt3d, MaxPt3d)

The function creates new hull block.

Input Parameters:

name

string

Name of hull block

MinPt3d

Point3D

Lower left corner of extension box.

MaxPt3d

Point3D

Upper right corner of extension box

Returned value:

None

Exceptions:

kcs_ArgumentError

Invalid parameter type.

kcs_ValueError

Argument value is not valid.

kcs_NameInvalid

Block name is not valid. For example: empty name.

kcs_NameTooLong

Block name is too long. Max. 25 characters.

kcs_NameOccupied

Block name is already in use.

kcs_Error

General error. Block can not be created.

block_delete(name)

The function deletes existing hull block.

Input Parameters:

name

string

Name of hull block

Returned value:

None

Exceptions:

kcs_ArgumentError

Invalid parameter type.

kcs_DoesNotExist

Specified block does not exist.

kcs_Error

General error. Block can not be deleted.

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