cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
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 Emeritus
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?
Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   •   hardware key   •   macOS Taho 26.1 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

View solution in original post

3 REPLIES 3
Solution
Karl Ottenstein
Moderator Emeritus
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?
Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   •   hardware key   •   macOS Taho 26.1 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Thanks Karl,
it works, it works
Karl Ottenstein
Moderator Emeritus
Glad it worked! 🙂
Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   •   hardware key   •   macOS Taho 26.1 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB