Archicad C++ API
About Archicad add-on development using the C++ API.

Coloring Wall using C++ code


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



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.cutFillPenand/or elem.wall.cutFillBackgroundPen



PS: Please post C++ questions into the section 'Developer Hub -> Archicad C++ API'.

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website:

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 😀

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!