Request material code for texture dimensions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-20 09:24 AM
‎2014-10-20
09:24 AM
MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
https://www.archiradar.it/en/
2 REPLIES 2
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-20 12:34 PM
‎2014-10-20
12:34 PM
mariosmic wrote:QW=REQUEST ("Name_of_material",M_AC_01,temp_name_1)
Is there a REQUEST MATERIAL code to read the dimensions of a texture applied to a material?
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-20 02:35 PM
‎2014-10-20
02:35 PM
SL_GDL wrote:Perfect!!! Thank you!mariosmic wrote:QW=REQUEST ("Name_of_material",M_AC_01,temp_name_1)
Is there a REQUEST MATERIAL code to read the dimensions of a texture applied to a material?
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.

MacBook M1 Max 64GB- OS X 12.2.1 - Archicad 27
https://www.archiradar.it/en/
https://www.archiradar.it/en/