ā2025-05-11 10:50 AM
I want to create an add-on that switches to the view named "9ļ¼å¹³é¢ē»åä½ęēØ". Is there a way to do this? Please guide me.
ā2025-05-12 06:27 AM
GSErrCode ACAPI_Navigator_ChangeCurrLayerComb ( API_AttributeIndex * layerCombIndex )
ā2025-05-12 06:29 AM
Can you give me an example snippet to switch to that layer? Iāve tried it but it doesnāt switch to the layer. Thank you sir.
ā2025-05-12 09:06 AM - edited ā2025-05-12 09:06 AM
API_AttributrIndex layerCombInd = 21; // the layer combination id of the desired layer
GSErrCode err = NoError;
in Archicad 25 it was
err = ACAPI_Environment(APIEnv_changeCurrLayerCombID, &layerCombInd);
now in Archicad 28 i think it is
err =ACAPI_Navigator_ChangeCurrLayerComb ( &layerCombInd );
ā2025-05-12
11:17 AM
- last edited on
ā2025-05-12
05:42 PM
by
Laszlo Nagy
Thank you sir, but not work @@
ā2025-05-12 11:27 AM
Thank you sir, I am done