Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Custom WD Marker and IS

Anonymous
Not applicable
I created a new wd marker to show something(not the WD ID) on floor plan. The marker text string is "C0918" or "FM1024" end etc.

the rules are:
1) prefix string + dimension string

2) prefix string tell people the opening type (door or window), opening method(Sliding or others) or special usage(Fire Protection door and etc.).

3)dimension string = the first two characters of width + the first two characters of height.

for example, if I want to marker is fire protection door (1500mm width, 2400 mm height), the marker string is: FM1524

OK. I think it is enough.

I did it, and everything is perfect on floor plan.

then, in IS setting, I use MARKER TEXT instead of WD ID.

then, problems come. when the IS is created, Marker Text is strange. It seems that the subroutine of calculate marker text is skipped. Marker text in schedule is keep the original data.

i can not find any document about global GDL parameters of ArchiCAD v8.1.

Who can help me?
15 REPLIES 15
Laszlo Nagy
Community Admin
Community Admin
I have programmed some Zones and have seen similar behaviour. I think currently this is a feature.
If you have values that you specify in a field within the Settings Dialog of the given Tool, than you cannot modify it and then get ArchiCAD to work with that modified value.
In your case, what you enter for Marker Text will be the string AC uses no matter how you try to modify the GDL Global assigned to that value.
It seems to me that these values are read by the program first and then any change is made to them as specified in the GDL script.
I hope this was understandable thje way I wrote it.

I give you an example:
I wanted to modify the name of a zone in GDL and list that.
But the program always listed the string I entered for the Zone Name in its settings dialog or the Info box, no matter how I tried to manipulate it in GDL. I think it is a matter of sequence: it reads the value, then executes the scripts. But then it is too late to modify.
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
Anonymous
Not applicable
To make sure whether I understand correctly...

Do you mean I should not put any default value?
Laszlo Nagy
Community Admin
Community Admin
If you don't put a default value, ArchiCAD will return an empty string I think (you should try it).
What I am saying is that ArchiCAD always returns the data entered for that field and changes made to it in the script does not have any effect on the value returned in the Interactive Schedule.
This is to the best of my knowledge.
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
Karl Ottenstein
Moderator
laszlonagy wrote:
I wanted to modify the name of a zone in GDL and list that.
But the program always listed the string I entered for the Zone Name in its settings dialog or the Info box, no matter how I tried to manipulate it in GDL. I think it is a matter of sequence: it reads the value, then executes the scripts. But then it is too late to modify.
I think it is a little different, Laszlo, and that the script simply isn't executed. As you'll see in my first note, the value is changed by the GDL code if the a/b params are changed in the info box, or the object settings dialog is opened and then immediately closed.

Karl
AC 28 USA and earlier   •   macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Laszlo Nagy
Community Admin
Community Admin
OK, seems like I misunderstood something.
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
Anonymous
Not applicable
I modified my script times and times. All failed. Whyever it is not correct, I give up.

I decide to do followed Karl's words, select doors or windows, Ctrl+T then close the dialog immediately.