GDL
About building parametric objects with GDL.
SOLVED!

GDL can read hardware id?

Anonymous
Not applicable
Hello.
I am making very simple objects for use specifics, and i want to know, how i can get the hardware id? for purpose of licence simple, only with gdl.
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Peter Baksa
Graphisoft
Graphisoft
Hi andomar,

n = REQUEST ("Configuration_number", "", stConfigurationNumber)
Returns the configuration number (as string expression) assigned to the current ARCHICAD license in case of soft license or hardware key. Returns empty string in case of Edu, Trial or Demo licenses. Each configuration number is unique and does not change.

To access the hardware ID you would need to write an add-on.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest

View solution in original post

6 REPLIES 6
Look under the request options in the gdl pdf.
I believe you can get it from the program info request for the serial number
Anonymous
Not applicable
Thanks for your help.
That way the GDL gets the information from archicad, but it's not what I'm looking for.
I want it to report the hardware id (pc), which is found in the device specifications.

Or any way to get the host name, but direct into the gdl object? (for example in power shell of windows, this: C:\>hostname )

Like this example:
Solution
Peter Baksa
Graphisoft
Graphisoft
Hi andomar,

n = REQUEST ("Configuration_number", "", stConfigurationNumber)
Returns the configuration number (as string expression) assigned to the current ARCHICAD license in case of soft license or hardware key. Returns empty string in case of Edu, Trial or Demo licenses. Each configuration number is unique and does not change.

To access the hardware ID you would need to write an add-on.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Anonymous
Not applicable
Thanks a lot

Hi 

where to find GDL Development Kit 25?  The GDL Development Kit seems to have stopped at version 23

Archicad user and Developer

Please contact API support about this.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest