We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-10-24 09:02 PM - last edited on 2024-09-26 01:48 PM by Doreena Deng
I would like to place a picture (a simple icon) on a surface on a Block in GDL. I have converted a picture to GSM by saving an Archicad-file with this (sole) picture as GSM. But from here I am stuck. Is it at all possible to place a picture on a surface on a GDL-made object?
Solved! Go to Solution.
2023-10-24 11:00 PM
An example would be:
BLOCK A, B, zzyzx
ADD 0.25, -0.001, 0.25
ROTx 90
PICTURE "BERGMANN_001.png", 0.5, 0.5, 1 + 2
DEL 2
in the 3D-Script.
You could also use the picture object in the Archicad library and drag it to the object, where it should appear.
2023-10-24 09:14 PM
There are 2 different ways to do this:
a) use an image as texture for a material
b) use the PICTURE command
attached find an object that uses method a)
2023-10-24 10:22 PM
Dear Joachim
Thank you for a really fast answer 😊 I am able to use method A. But I need to use method B if that may help me to put the icon on any surface exactly where I want it. I have searched; https://gdl.graphisoft.com/reference-guide/elements-for-visualization#PICTURE_gdlcommand
But I am in the dark on how to place the picture into the GDL-editor in Archicad.
2023-10-24 11:00 PM
An example would be:
BLOCK A, B, zzyzx
ADD 0.25, -0.001, 0.25
ROTx 90
PICTURE "BERGMANN_001.png", 0.5, 0.5, 1 + 2
DEL 2
in the 3D-Script.
You could also use the picture object in the Archicad library and drag it to the object, where it should appear.
2023-10-25 04:34 PM
Thank you SO much! 😀 That worked very well.
BLOCK 0.8, 0.8, 0.96
ADD 0.15, -0.001, 0.25
ROTx 90
PICTURE "LEGO_ikon3.png", 0.5, 0.5, 1 + 2
DEL 2
ADD 0.4, 0.4, 0.96
CYLIND 0.16, 0.24
DEL 2