Archicad 28 C++ API
|
Interface class for the element decomposition process. More...
#include <APIdefs_Callback.h>
Public Member Functions | |
virtual GSErrCode | GeneratePartElement (const API_Guid &guid, const API_ElemPartId &partId, const API_Element &partElem, const API_ElementMemo &partMemo)=0 |
Interface class for the element decomposition process.
|
pure virtual |
This methor is called from the ACAPI_Element_Decompose function for all decomposed element part.
guid | [in] The guid of the original PolyRoof element. |
partId | [in] Identifies the part element within the whole structure. In the context of Multi-plane Roofs the main member refers to the vertexId of the pivot polygon, and sub identifies the roof level. |
partElem | [in] Data describing the element part. Currently this variable always returns API_RoofType parameters with API_PlaneRoofID class. |
partMemo | [in] Memo data of the part element. Only the relevant members are initialized, in case of plane roofs the following ones: coords, pends, parcs, vertexIDs, edgeTrims, roofEdgeTypes, sideMaterials. These memo arrays will be disposed by ACAPI_Element_Decompose at the end of the call. |