2026-02-15
06:27 PM
- last edited on
2026-02-16
01:31 AM
by
Laszlo Nagy
I'm using ArchiCAD API 29.3100 to import columns from JSON. Columns with profiled asymmetric cross-sections appear mirrored after import because the isFlipped property cannot be set via the API.
What I'm trying to do:
element.column.isFlipped = true;
ACAPI_Element_Create(&element, &memo);
ArchiCAD always sets isFlipped back to false during creation, regardless of what value I set.
I tested all combinations systematically:
angle=0°, isFlipped=true → Result: isFlipped=false
angle=360°, isFlipped=true → Result: isFlipped=false
I also tried fixing it after creation with ACAPI_Element_Change:
element.column.isFlipped = true;
ACAPI_Element_Change(&element, &mask, nullptr, 0, true); // Returns NoError
But when I read the element back, isFlipped is still false.
The ACAPinc.h documentation lists modifiable column fields as: origoPos, axisRotationAngle
isFlipped is not listed, which suggests it might be read-only, but this isn't clearly documented.
Is this a known limitation?
Is there any way to set isFlipped=true via the API?
What's the recommended workaround for importing flipped profiled columns?
Any help would be appreciated!
Solved! Go to Solution.
2026-02-20 06:18 PM
Hi,
I checked the code, and it looks like the isFlipped flag is used only one way, when getting a column, but not when creating or changing.
I'll look into it if it's a limitation or a bug, and if there's a workaround.
Regards,
Tamás
2026-02-20 06:18 PM
Hi,
I checked the code, and it looks like the isFlipped flag is used only one way, when getting a column, but not when creating or changing.
I'll look into it if it's a limitation or a bug, and if there's a workaround.
Regards,
Tamás
2026-02-23 06:33 PM
Hi,
I've reported it as a bug. Unfortunately I don't see any workaround to place a column with flipped set.
Regards,
Tamás