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
Type | Name | Comment |
INTEGER | options | see below |
Return Value
Â
Type | Name | Comment |
STRING | UUID | comments |
Options
Option | Comment |
XPXUUID_FMT_22 | 22 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.
Â