The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

GDL language and objects, API, Add-ons, Script…

Moderators: Barry Kelly, Karl Ottenstein, LaszloNagy, ejrolon, gkmethy

What's your opinion about this wish?

Essential (5)
13
76%
Important (4)
2
12%
Average (3)
2
12%
Not important (2)
No votes
0%
Not needed (1)
No votes
0%
By Wilt
#225175
The project info variables should be available in the 3D gdl context. Right now the project info variables can be used in the 2D context like this:
"<PROJECTNAME>", "<PROJECTSTATUS>", "<DATEOFISSUE>", etc
but in the 3D GDL context this doesn't work. It would be great if it could be fixed.

This relates to this question on ArchiCAD talk:

http://archicad-talk.graphisoft.com/viewtopic.php?p=225173#225173
By LGreen
#229812
I had almost forgotten about this issue. I have since run into a similar issue with trying to get the scale of a drawing and using that to change text on a scale bar.

The problem is, as F. Beister mentioned in the related thread, the autotext command is substituted in the 2D environment, not in the GDL script. So until AC has to display the text, it remains as <DRAWING_SCALE>. Trying to manipulate it, e.g removing the first two characters of 1:100, results in RAWING_SCALE> being displayed.

Ultimately it seems the best solution would be to create request functions for all of the auto text features, similar to labels requesting attributes of the elements they are attached to. This would allow use in 3D and for the text to be manipulated for other uses.

-Lachlan
#229818
I know there aren't many votes on this yet but I really hope that GS will do something about it.
I have wanted to use this info in the past and have had to find other ways of doing it (i.e. reading & writing to text files or Library Globals in Model View Options).
Project info doesn't just have to relate to client name, address, etc., but custom fields could be used for all sorts of things.

Barry.
#251825
Hi. It is 2016 we have a new powerful Archicad 19 but I stil cannot make this work. Isn't there still any way how to make autotext working in 3D? If the content is available in all other scripts cannot it be at least somehow broken into a "dumb text" and saved as a local parameter in master script or something?

Lukas