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

Code for texture direction change?

Anonymous
Not applicable
Can you tell me a simple GDL code that changes the default direction/orientation of the texture in the material that is applied to an object?
For example we have this:

Material "wood"
Block X, Y, Z

how can we change the direction of the wood, what do we write and where?
5 REPLIES 5
Laszlo Nagy
Community Admin
Community Admin
Check the description of the COOR command in the "05 AC 12 GDL Reference Guide.pdf' file. It on page 96 in my version.
On Page 97 you will also find some examples for it.
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
Thanks, I didn't see that earlier, Will check it immediately!
Anonymous
Not applicable
I usually open that image and rotate it in MS paint. Then re-save it as a different name. Then apply the new texture but i am old skool.
Laszlo Nagy
Community Admin
Community Admin
zach wrote:
Thanks, I didn't see that earlier, Will check it immediately!
You may also try to search the forum.
http://archicad-talk.graphisoft.com/search.php
Enter "door texture direction" for search criteria and it will give you several threads about this topic with long discussions and code segments in some.
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
In "GDL_Cookbook" describes how easily you can manage the direction of texture.