API_WallType refMat, sidMat, oppMat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-12-09 10:50 AM
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?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-12-18 04:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-12-18 04:46 AM
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.