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.

Fills - set fill usage

Anonymous
Not applicable
Do you have any idea where to set these parameters in API?


cutfill.png

1 REPLY 1
ReignBough
Enthusiast
Use ACAPI_Attribute_Modify() function while changing the flags value in API_Attr_Head. Here are the possible values
  • Drafting Fills - APIFill_ForPoly
  • Cover Fills - APIFill_ForCover
  • Cut Fills - APIFill_ForWall
Additional flag is APIFill_ScaleWithPlan, used for the 'Scale with plan (Model Size)'. If not set, it is considered as 'Scale independent (Paper Size)'.

I've never tried it though.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS