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

Hull and Outfitting

BLOCK Creation in Specific Database or Under a Specific HBLWLD (Hull Block World)

BLOCK Creation in Specific Database or Under a Specific HBLWLD (Hull Block World)

  • Last UpdatedDec 05, 2025
  • 1 minute read

Creating BLOCKs in specific databases can be made using the following PML function.

!!HullNewBlock(!blkName is STRING, !ownName is STRING) is DBREF

The parameter blkName is the name of the new block and it is mandatory.

The parameter ownName is the name of the database of Hull Block World. This parameter is optional (needs to be passed as space though, that means, '').

The function returns the DBREF to the newly created BLOCK element if successful. Otherwise an error message is issued and the function result is undefined.

Example:

!blk = !!HullNewBlock('MYBLOCK', 'MYTEAM/MYDB')

That statement will create a new block, MYBLOCK, in the database MYTEAM/MYDB.

!blk = !!HullNewBlock('MYBLOCK', '/MYHBLWLD')

That statement will create a new block, MYBLOCK, under the existing HBLWLD/MYHBLWLD.

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