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

Hull and Outfitting

Storing and Loading PML Functions

  • Last UpdatedNov 24, 2025
  • 1 minute read

When a PML Function is called it is loaded automatically from its source file in a directory located via the environment variable PMLLIB. The name of the external file must be lowercase and must have the .pmlfnc suffix. The source of a PML Function invoked as !!AREA or !!Area or !!area all correspond to the file named area.pmlfnc.

Notes: The!! signifies that the function is user-defined and that it is global - but !! does not form part of the external filename. All user-defined functions are global and only one may be defined per file.

The define function must be the first line in the file and that its name and the file name must correspond.

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