cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
til0byte
Participant

Cannot set isFlipped property for columns via API

Problem

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!

1 Solution

Accepted Solutions
Tamas Polyak
Graphisoft
Graphisoft

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

Go to post

2 Replies 2
Tamas Polyak
Graphisoft
Graphisoft

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

Tamas Polyak
Graphisoft
Graphisoft

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!