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

ACAPI_Interface (APIIo_HighlightElementsID) not showing colored elements

msimko
Participant

Hello,


I am trying to highlight some elements to a predefined color in an add-on. The function 

ACAPI_Interface (APIIo_HighlightElementsID)

Seems to match my use case perfectly, but when I use it, nothing seems to change in the 3D model. Does it still work in Archicad 26? Is there an alternative to this function?

I was following the solution from this post: https://community.graphisoft.com/t5/Archicad-C-API/Can-Archicad-Api-control-visibility-of-one-Elemen...

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi,

Yes, you can use the similar function in Archicad26 below:

ACAPI_Interface_SetElementHighlight(hlElems, wireframe3D, GS::NoValue);

 

HTH

View solution in original post

1 REPLY 1
Solution
LChen
Graphisoft
Graphisoft

Hi,

Yes, you can use the similar function in Archicad26 below:

ACAPI_Interface_SetElementHighlight(hlElems, wireframe3D, GS::NoValue);

 

HTH