cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Mario Sacco
Expert

Request material code for texture dimensions

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/

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!