cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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
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/