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

access custom image in carpet object

Anonymous
Not applicable
Hi all,

how to access the "use image" option inside the Archicad carpet object for example? See image for details.

Whe I access the Material using ModelerAPI, Archicad tells me, that there is no texture inside this material. My method is working fine with other elements like walls where I get the texture, if there is one:

ModelerAPI::Material material;
polygon.GetMaterial(&material);

if (material.HasTexture()) {
    ModelerAPI::Texture texture;
    material.GetTexture(&texture);
}
Thanks
Source
0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!