How to lock master and other scripts ????
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-16 02:35 PM
2010-03-16
02:35 PM
If i grey them will i ever be able to unlock them ???
can some1 explain this to me ?
and do you use some external editor for editing GDL or archicad gdl editor ? ?
thx
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-16 08:10 PM
2010-03-16
08:10 PM
You will need to enable the "Special" menu to access this ability.
Be careful... Once hidden/locked, you cannot (easliy) unlock the scripts. So, if you decide to do this, be sure to keep a duplicate of the original object.
Be careful... Once hidden/locked, you cannot (easliy) unlock the scripts. So, if you decide to do this, be sure to keep a duplicate of the original object.
David Larrew, AIA, GDLA, GSRC
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-16 09:47 PM
2010-03-16
09:47 PM
Don't vaste your time. There is not any protection for GDL scripts.
Any text editor can read your parts. All GDL scripters know that.
Already that GDL is a niche langage, I don't think there is any secret to hide.
The best way to keep GDL alive is to make your scripts open.
Otherwise, write an add-on.
For external GDL editors, the answer is no. Some attempts in the past.
They all failed. Niche market, you know.
Any text editor can read your parts. All GDL scripters know that.
Already that GDL is a niche langage, I don't think there is any secret to hide.
The best way to keep GDL alive is to make your scripts open.
Otherwise, write an add-on.
For external GDL editors, the answer is no. Some attempts in the past.
They all failed. Niche market, you know.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-17 09:47 AM
2010-03-17
09:47 AM
why when i open gdl object with some external editor(notepad...wordpad) and when i edit file i cant open it anymore with archicad ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-17 01:13 PM
2010-03-17
01:13 PM
I think ArchiCAD saves more data in these GSM files than just the scripts. So the format gets wrong when you resave it with a text editor, it will not be recognized as a valid GSM file by AC anymore.
You can check this by opening the GSM file with a Hex editor and a simple Text Editor and you will see that they are different.
You can check this by opening the GSM file with a Hex editor and a simple Text Editor and you will see that they are different.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-30 06:09 PM
2010-03-30
06:09 PM
Olivier wrote:Basically, you are right - at least for GSM files.
For external GDL editors, the answer is no. Some attempts in the past.
They all failed. Niche market, you know.
Just one addition on the topic: we use external editors all the time - for library parts converted to XML format. We do the modeling in AC (on GSM files) and we do the mass changes (replacements, no-model programming) in XML in any good editor. You can use any advanced source code editor (e.g. Visual Studio, Komodo Edit, Eclipse). And of course you can convert XML to GSM and vice versa using the LP_XMLConverter tool.
Two further advantages of this system: (1) you can use text based comparison and versioning for your libraries; (2) LP_XMLConverter can do a lot of checking on your library when you assemble it (the XML->GSM direction).
All I said is for cold blooded professionals only:)
Cheers,
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-30 07:13 PM
2010-03-30
07:13 PM
ztaskai wrote:You're saying that GDL developers are dinosaurs and reptilians?
All I said is for cold blooded professionals only:)

Just to clarify between the lines below: a GSM file is indeed a binary file that happens to have some large sections of text (script). Thus, while you can open it and view scripts and some other information, you cannot edit it in a standard editor.
The XML converter tool that Zolt mentions is geared towards developers, not typical users. It is something that a BIM Manager should be familiar with, or have someone on staff familiar with, if a firm maintains many custom library parts - for the mass-editing reasons that Zolt mentions.
Basically, that tool converts a single part, or an entire folder hierarchy from GSM (binary) into XML (text) files. Advanced editors, such as he mentions, or even Unix scripting tools in OS X, let you make mass changes to entire libraries and then use the XML tool to convert back to GSM for ArchiCAD.
But, on the original topic: there is no means of truly hiding any script.
Cheers,
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB