We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

Limit objects to student version.

Anonymous
Not applicable
Hi all

We would like students to be able to use a lot of our GDL objects for free in their projects. Is there anyway to limit them to student version only. maybe by including some sort of REQUEST & IF statements in the script?
Has anyone done this before?
4 REPLIES 4
All depends if the serial no. of Student version is different from the normal serial that comes from the key...

You can request the serial and if matches your findings the script is executed..otherwise end.

Best Regards,
Piotr
Anonymous
Not applicable
yes that's true.
what about using the REQUEST ("Name_of_program", "", program_name)
does it return different values e.g. "ArchiCAD & "ArchiCAD student version" ? as that would be even easier to use.
Karl Ottenstein
Moderator
sdb wrote:
We would like students to be able to use a lot of our GDL objects for free in their projects. Is there anyway to limit them to student version only. maybe by including some sort of REQUEST & IF statements in the script?
Has anyone done this before?
The question as posed belongs in the Library/GDL forum. The answer there is that no, you cannot successfully limit your objects in that way, because it is impossible to keep someone else from editing the object and eliminating your test (even if one could check for the student version). Even with the old 'hidescript' utility, it only hid the scripts in the UI - the file could still be opened in a text editor and the code could be snarfed.

Even in this forum (Developer), I can't think of a clever way offhand to prevent the objects from being used by non-students and yet still appear as normal objects with the object tool (etc). Even if protected inside a dll or bundle, once they are exposed for use, the student can place a copy, open the copy, and then save it as a normal object that anyone could use. Someone else may have an idea for you!

Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
oh sorry, maybe someone could move this thread then please? I figured it was a more developer based question.

That's true, i guess we'd be counting on them not opening them up in a text editor.
Well it would have been nice for students. If anyone has any other ideas, we'd love to hear them!