cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Fermat
Contributor

API_WallType refMat, sidMat, oppMat

From ArchiCAD 27 when I look for the wall materials values during debug session, the 'hasValue' field is set to true or false correctly due to what has been set inside the wall settings dialog but the index of the material is different from 0 only is the materials are override.

Till ArchiCAD 26 the material index was fill with the right value even if it was not override.

I need the index of the material even if the override flag isn't set.

Can someone help me?


2.png
1 Solution

Accepted Solutions
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi,

From Archicad27, if the wall 'hasValue' is false (not override), it means the material(surface) for representation is from building material, so you need to refer 'buildingMaterial' parameter and get the surface index from it.

HTH. 

Go to post

1 Reply 1
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi,

From Archicad27, if the wall 'hasValue' is false (not override), it means the material(surface) for representation is from building material, so you need to refer 'buildingMaterial' parameter and get the surface index from it.

HTH. 

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!