Hot to lock custom object to work with only one keyplug?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-08
02:17 PM
- last edited on
‎2023-05-24
12:49 PM
by
Rubia Torres
‎2004-12-08
02:17 PM
We have created some custom doors and windows that we would like to give to some ArchiCAD users. Is there a way to lock the GDL code to prevent it from being manipulated by users and also, is there a possibility to lock it to single ArchiCAD keyplug. We would like this objects to become a "freeware".
------
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-08 02:46 PM
‎2004-12-08
02:46 PM
There is a REQUEST for the serial number of the keyplug. You can put the authorized numbers in the script, then check that the installed keyplug matches before executing any code. Check the REQUESTs section of the GDL manual.
HTH,
HTH,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-08 03:26 PM
‎2004-12-08
03:26 PM
Thank you James. That was quick. Now, how do we prevent somebody to open object code and change this keyplug number by himself?
------
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-09 01:30 AM
‎2004-12-09
01:30 AM
Not really. There is a tool to hide scripts, or there used to be, but someone can always open the object in a text editor and read the scripts, even if they are hidden. Until objects can be compiled, GDL is de facto open source.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-09 04:29 AM
‎2004-12-09
04:29 AM
James wrote:and all the better for it. now it just needs agressively marketing before the big A gets it's own object languiage into the industry . . .
GDL is de facto open source.
~/archiben
b e n _ f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup | morpholio | phpp
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup | morpholio | phpp

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-09 03:53 PM
‎2004-12-09
03:53 PM
Thank you all for answers. I guess, we will have to trust the users not to change the code to work on other keyplugs. But I have some old objects, that are locked for editing also in text editor, purchased on ObjectsOnline. I wonder how they have done it?? I like the open source concept, but one has to eat
from time to time.

------
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11
Gorazd Rajh
From AC 6.5 onward, i9-14900HX, 32 GB RAM, RTX 4060, Win 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-12-09 04:31 PM
‎2004-12-09
04:31 PM
Thank you all for answers. I guess, we will have to trust the users not to change the code to work on other keyplugs. But I have some old objects, that are locked for editing also in text editor, purchased on ObjectsOnline. I wonder how they have done it?? I like the open source concept, but one has to eat Smile from time to time.There used to be some kind of GDL API kit that had file locking tools in it. I think it was last updated for Archicad 7, though.
Tom Waltz