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

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

New GDL commands in AC 10 ?

Anonymous
Not applicable
Hello,
I don't have AC 10 yet so I can't answer my own question.
I have read all that I can find about AC 10's new features and
nowhere is there a mention of new GDL commands.
I was wondering therefor, what the GDL code would be
for a complex profiled wall saved as a GDL object.
Thank you,
Peter Devlin
8 REPLIES 8
Dwight
Newcomer
!
! Name : wall test junk.gsm
! Date : Saturday, June 10, 2006
! Version : 10.00
! Written by ArchiDWIT
!

mulx A/18'-2.3452"
muly B/9'-1.4461"
mulz ZZYZX/24'-2.4772"
addx 5'-0.3904"
addy 36'-0.8437"
addz -7'-5.1724"
body -1
model solid
resol 36
GLOB_SCRIPT_TYPE = 3
GLOB_CONTEXT = 3
GLOB_SCALE = 96
GLOB_NORTH_DIR = 90
GLOB_DRAWING_BGD_PEN = 252
GLOB_FRAME_NR = -1
GLOB_EYEPOS_X = 26'-9.4298"
GLOB_EYEPOS_Y = -45'-6.3904"
GLOB_EYEPOS_Z = 13'-5.9311"
GLOB_TARGPOS_X = 15'-11.1503"
GLOB_TARGPOS_Y = -29'-11.7902"
GLOB_TARGPOS_Z = 19'-4.4728"
GLOB_SUN_AZIMUTH = 45
GLOB_SUN_ALTITUDE = 70
body -1
body -1
body -1
body -1
body -1
body -1
body -1
body -1
body -1
body -1
GLOB_HSTORY_HEIGHT = 0'-8.2536"
resol 36
!!WL34
pen 255
GLOB_LAYER = "ArchiCAD"
GLOB_ID = "WL34"
GLOB_INTID = 2715
body -1
add 4'-0.7822", -26'-11.3976", 16'-10.9150"
rotz 270
rotx 90
roty -90
sprism_{2} "Mtl-Zinc", "Mtl-Zinc", "DEFAULT",
21, 0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", -9'-1.4460", 0,
0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 0,
-0'-5.4586", 14'-8.7346", 15, ind(material,"Glass"),
-2'-3.2932", 14'-8.7346", 15, ind(material,"Glass"),
-2'-3.2932", 5'-7.9519", 15, ind(material,"Glass"),
-4'-4.2469", 5'-7.9519", 15, ind(material,"Glass"),
-4'-4.2469", 3'-1.5395", 15, ind(material,"Ext-Poured Concrete"),
-5'-3.1642", 2'-8.4708", 15, ind(material,"Ext-Poured Concrete"),
-5'-3.1642", 1'-9.9435", 15, ind(material,"Ext-Poured Concrete"),
-3'-4.9397", 1'-9.9435", 15, ind(material,"Ext-Poured Concrete"),
-3'-4.9397", 0'-11.0262", 15, ind(material,"Ext-Poured Concrete"),
-5'-1.6046", 0'-11.0262", 15, ind(material,"Ext-Poured Concrete"),
-5'-1.6046", -4'-10.7663", 15, ind(material,"Ext-Poured Concrete"),
-9'-1.1726", -4'-10.7663", 15, ind(material,"Ext-Poured Concrete"),
-9'-1.1726", -9'-5.7425", 15, ind(material,"Ext-Poured Concrete"),
9'-1.1726", -9'-5.7425", 15, ind(material,"Ext-Poured Concrete"),
9'-1.1726", -4'-10.7663", 15, ind(material,"Ext-Poured Concrete"),
3'-7.6690", -4'-10.7663", 15, ind(material,"Ext-Poured Concrete"),
3'-7.6690", 10'-2.9281", 15, ind(material,"Ext-Poured Concrete"),
3'-1.8205", 10'-2.9281", 15, ind(material,"Ext-Poured Concrete"),
3'-1.8205", 12'-8.5607", 15, ind(material,"Ext-Poured Concrete"),
-0'-5.4586", 12'-8.5607", 15, ind(material,"Glass"),
-0'-5.4586", 14'-8.7346", -1, ind(material,"Glass")
base
vert -9'-1.1726", -9'-5.7425", 0'-0.0000"
vert -9'-1.1726", -9'-5.7425", -9'-1.4460"
vert 9'-1.1726", -9'-5.7425", 0'-0.0000"
vert -9'-1.1726", 14'-8.7346", 0'-0.0000"
coor 8450, -1, -2, -3, -4
del 2
del 2
body -1
body -1
body -1
wall test.jpg
Dwight Atkinson
Anonymous
Not applicable
Hello Dwight,
Thank you for doing this experiment for me.
Apparently, there is at least one new GDL command,
sprism_{2} and it does not seem like an extension of sprism_.
It looks like a new command.
Interesting also, is the auto-scripted COOR command.
I don't recall seeing an auto-scripted object include one before.
I wonder why GS decided to extend sprism_ instead of xwall_.
I have a ton of questions of course.
I will have to wait to get my copy of AC 10 and then
do lot of tests and study the GDL manual.
Thank you again,
Peter Devlin
Frank Beister
Moderator
You should find the AC10 basic library on the GS server. There is a documentation inside, which explains most new features.

EDIT:

New Features online.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
Hello Frank,
Thank you for the link.
I would never have been able to find this information.
I am unable to find most things by going to the
Graphisoft web site. http://www.graphisoft.com/sitemap/
ArchicadWici did not have this info. either, though it pretends to.
This information seems to come from the developer area
of the GS site which I have not explored because I do not know C++
and therefor am not a developer.
Thank you again Frank,
Peter Devlin
David Maudlin
Rockstar
From the Graphisoft web site:

New version of sprism_
sprism_{2} allows to define an inclination angle for the bottom side of the prism, in addition it makes it possible to set the material for each face independently.


So will the slab tool be improved so that different materials can be assigned to each edge? It seems like the code is here.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
TomWaltz
Participant
To me, the big improvement is that GDL macros can now return values to the calling object.
Tom Waltz
Anonymous
Not applicable
TomWaltz wrote:
To me, the big improvement is that GDL macros can now return values to the calling object.
YES! HOORAY!
Anonymous
Not applicable
David wrote:
From the Graphisoft web site:

New version of sprism_
sprism_{2} allows to define an inclination angle for the bottom side of the prism, in addition it makes it possible to set the material for each face independently.


So will the slab tool be improved so that different materials can be assigned to each edge? It seems like the code is here.

David
It's a bit of a different problem, but it sure would be nice. Hopefully it is easy and will be done. Unfortunately the development budget for improving (and fixing) existing features seems a bit shy. I am still waiting for a truly useful label tool.