We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

how to change the current pen set (via API)?

Anonymous
Not applicable
Hi.
I find APIEnv_GetCurrPenSetID method in the environment api.
But I can't find the method that changes the current pen set.
Can anyone give a hint?

Thanks.
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
Hi,

There's no such function; you can modify the pen table in that current pen set with ACAPI_Attribute_Modify().

Best, Akos