xpfGenerateUUID

FUNCTION  xpfGenerateUUID(options : INTEGER)
                          UUID    : STRING;

The xpfGenerateUUID function is used to generate a Universal Unique Identifier string (UUID). Depending on the options parameter, this string could be either 22 characters or 36 characters long. The legal options are XPXUUID_FMT_22 AND XPXUUID_FMT_40. The algorithm is based on the computers network mac-address and the internal clock. These data are concatenated and later converted into a base64 number represented by distinct printable digits and characters. Finally the base64 number is encoded and compressed into a universally unique character string.

Arguments


TypeNameComment
INTEGERoptionssee below

Return Value


 

TypeNameComment
STRINGUUIDcomments

Options


OptionComment
XPXUUID_FMT_2222 char variant as used in IFC and ISO_12006_3.
XPXUUID_FMT_40.40 char hex string as specified in UUID doc.

 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â