[API] how to set "element.column.linkToSettings.homeStoryDifference"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-09-19
10:38 PM
- last edited on
2021-09-21
11:31 PM
by
Laszlo Nagy
Hi,guys
I can create column,but don't know how to cennect to uper story?
GSErrCode err = ACAPI_Element_GetDefaults(&element, &memo); //setting: column connect to upper story but //don't work
element.column.axisRotationAngle = 0;
point.x = 0;
point.y = 1;
element.column.origoPos = point;
//Use this structure during element creation. If it is true, then head.floorInd will not be taken into account, //otherwise homeStoryDifference will be filled.
element.column.linkToSettings.newCreationMode = false;
element.column.linkToSettings.homeStoryDifference = ?????;
element.column.head.floorInd = ???;
......
err = ACAPI_Element_Create(&element, &memo);
how to set "head.floorInd" or "homeStoryDifference"
Solved! Go to Solution.
- Labels:
-
Add-On (C++)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-09-20 02:24 AM
To Link to upper stories:
element.column.relativeTopStory = (short) where 0 = not linked # = stories above
column segments will be proportional to height if set as such. Also set "show on relative stories"
offsets are both in element and memo.
Unless your asking something else??
Windows 11 - Visual Studio 2022; ArchiCAD 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-09-20 02:24 AM
To Link to upper stories:
element.column.relativeTopStory = (short) where 0 = not linked # = stories above
column segments will be proportional to height if set as such. Also set "show on relative stories"
offsets are both in element and memo.
Unless your asking something else??
Windows 11 - Visual Studio 2022; ArchiCAD 27