cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

How to change floor plan cut definition?

YONGWOO KIM
Participant

I want to change floor cut plan using api.

 

But it's not work.

 

 

API_FloorPlanCutDefinition floorPlanCutDefinition;
GSErrCode testErr = ACAPI_Environment(APIEnv_GetPreferencesID, &floorPlanCutDefinition, (void*)APIPrefs_FloorPlanCutPlaneDef);
floorPlanCutDefinition.currCutLevel += 1;
testErr = ACAPI_SetPreferences(1, sizeof(API_FloorPlanCutDefinition), &floorPlanCutDefinition);

 

 

testErr is 0. But current cut level is not changed.

0 REPLIES 0

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!