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

Request material code for texture dimensions

Mario Sacco
Expert
Is there a REQUEST MATERIAL code to read the dimensions of a texture applied to a material?
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
2 REPLIES 2
Anonymous
Not applicable
mariosmic wrote:
Is there a REQUEST MATERIAL code to read the dimensions of a texture applied to a material?
QW=REQUEST ("Name_of_material",M_AC_01,temp_name_1)
QW=REQUEST{2} ("Material_info", temp_name_1, "gs_mat_texture", file_name_1, w_1, h_1)
PARAMETERS PICT_N=file_name_1, H=W_1, H=H_1

If I do not understand the question, sorry.
Mario Sacco
Expert
SL_GDL wrote:
mariosmic wrote:
Is there a REQUEST MATERIAL code to read the dimensions of a texture applied to a material?
QW=REQUEST ("Name_of_material",M_AC_01,temp_name_1)
QW=REQUEST{2} ("Material_info", temp_name_1, "gs_mat_texture", file_name_1, w_1, h_1)
PARAMETERS PICT_N=file_name_1, H=W_1, H=H_1

If I do not understand the question, sorry.
Perfect!!! Thank you!
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/