...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxGenerateUUID (options : INTEGER;
VAR UUID : STRING)
status : INTEGER;
|
The xpxGenerateUUID function generates a Universally Unique string of 22 characters.
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 22 character universally unique string.
This function is equivalent to the EDMinterface function edmiGenerateUUID.
Arguments
...
Type | Name | Comment |
INTEGER | options | see below |
STRING | UUID | The generated UUID |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
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
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|