We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2009-07-13 10:35 PM - last edited on 2023-05-23 04:39 PM by Rubia Torres
2009-07-14 10:01 AM
EzPresso wrote:Yes, GDL objects can be bundled in the add-on as a 'FILE' resource. However, don't look on this as a protection mechanism. There is no way to prevent anyone but the most naive user from extracting the code from a GDL object, whether it's bundled in an add-on or not.
Is there a way to pack or encrypt these GDL Objects, so no one should be able to extract GDL code from my Add-on?
2009-07-15 12:42 PM
Yes, GDL objects can be bundled in the add-on as a 'FILE' resource.That's what I do (and it is mentioned in the original question). Is it possible to put a compressed GDL object (.pla, etc) in the FILE resource and load them in Add-On?
2009-07-16 03:58 PM
EzPresso wrote:Yes, any file can be imbedded as a FILE resource and read by the add-on, although the functions to read the resource are not part of the ArchiCAD API. Use the host OS API instead.
Is it possible to put a compressed GDL object (.pla, etc) in the FILE resource and load them in Add-On?
2009-09-23 05:22 PM
Ralph wrote:See RS.hpp in GSRoot
although the functions to read the resource are not part of the ArchiCAD API