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.

Replace image with texture in Picture GDL object

Jose Gradoli
Booster

I want to replace in the GDL script the image of the Picture GDL object with an Archicad texture. The main reason for doing this is because when exporting my projects into Twinmotion or Enscape the pictures becomes white without any picture. I've opened the GDL but I don't know how to do it, even if is it possible to do what I need..

 

I think the place where to change things is in this part of the 3d code (lines 193-207 of the script):

 

 
MATERIAL "pictmat"

add -a/2 + bIsFrame * _picOffset,
bIsFrame * _picOffset,
b + 0.001

if gs_picture_custom = 0 then
picture 1, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
else
if gs_picture_name <> "" then
picture gs_picture_name, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
else
picture 1, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
endif
endif

 

I've attached a screen capture of what happens when exporting my project.

 

Thanks.

 

Operating system used: Mac Apple Silicon 14 - Sonoma


Captura de pantalla 2024-10-04 a las 10.53.40.png

www.formaarquitectura.com
ARCHICAD 25 SPA
0 REPLIES 0

Setup info provided by author

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!