Coloring Wall using C++ code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-10-27
07:35 AM
- last edited on
2024-09-16
02:37 PM
by
Doreena Deng
I was trying to provide different colors to wall using the C++ API’s. Could someone help which property has to be used? I’m using ArchiCAD 25

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-10-28 01:45 PM - edited 2023-10-29 11:02 AM
Hi Roni,
There are a lot of different ways depending on the exact thing you want to do (everything related to API_WallType)
- Change the building material:
elem.wall.buildingMaterial
- Override just on a surface:
elem.wall.refMat
/elem.wall.sideMat
/elem.wall.oppMat
- Change the color in 2D views:
elem.wall.cutFillPen
and/orelem.wall.cutFillBackgroundPen
Best,
Bernd
PS: Please post C++ questions into the section 'Developer Hub -> Archicad C++ API'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-10-31 05:31 AM
Hi Bernd,
Thanks for the reply, I will be trying out what you have said above.
Also will be posting the questions to exact sections 😀