I'm looking for an c++ example to draw a single segment column from scratch. The example in Element_Test uses the function "Do_Create_Column", However this does not explain the parameters needed to fill in the associated memo structure necessary to build the column. Do_Create_Column just uses Get_Default to copy in the default column settings without explanation.
My problem is that I need to set the cross section width and depth different from the defaults and I do not know what parameters in memo need be set or if they need be stacked in the coords parameter.
if someone could supply a simple example for a 2 x 4 x 8' rectangular column or just point me in the right direction -- much appreciated. The parameters within the API_ColumnType are self explanatory . Just need to work out the Memo structure for columns??
Windows 10 - Visual Studio 2019; ArchiCAD 26