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

Can i query a buiding material to obtain the vectorial fill of the surface?

Anonymous
Not applicable
Hi,
i want to query AC about the vectorial fill associated through a surface to a building material.
I can use:
request{2} ("Building_Material_info", vascaMat, "gs_bmat_surface", surface2DIndex)

for the former step but for the latter?

Any help is appreciated.
Bye
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Karl Ottenstein
Moderator
Ilder wrote:
request{2} ("Building_Material_info", vascaMat, "gs_bmat_surface", surface2DIndex)
I'm not sure ... but does

request{2} ("Material_info", surface2DIndex, "gs_mat_fill_ind", surfaceFillIndex)

return what you want?
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

View solution in original post

3 REPLIES 3
Solution
Karl Ottenstein
Moderator
Ilder wrote:
request{2} ("Building_Material_info", vascaMat, "gs_bmat_surface", surface2DIndex)
I'm not sure ... but does

request{2} ("Material_info", surface2DIndex, "gs_mat_fill_ind", surfaceFillIndex)

return what you want?
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Thanks Karl,
it works, it works
Karl Ottenstein
Moderator
Glad it worked! 🙂
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB