2018-10-31 09:16 AM - last edited on 2022-10-05 01:33 PM by Daniel Kassai
API_ElementQuantity eq; GS::Array<API_CompositeQuantity> qcq; API_Quantities q; API_QuantityPar qp; API_QuantitiesMask qm; ACAPI_ELEMENT_QUANTITY_MASK_CLEAR(qm); ACAPI_ELEMENT_QUANTITY_MASK_SETFULL(qm); qp.minOpeningSize = 0.00; q.elements = &eq; q.composites = &qcq; err = ACAPI_Element_GetQuantities(elem.header.guid, &qp, &q, &qm); int cqCnt = qcq.GetSize();
Solved! Go to Solution.
2018-11-01 04:41 AM
GSErrCode err = NoError; API_ElementQuantity quantity; API_QuantitiesMask mask; API_Quantities quantities; API_QuantityPar par; GS::Array<API_CompositeQuantity> composites; quantities.composites = &composites; quantities.elements = &quantity; par.minOpeningSize = 0.3; ACAPI_ELEMENT_QUANTITY_MASK_SET(mask, column, coreVolume); ACAPI_ELEMENT_COMPOSITES_QUANTITY_MASK_SETFULL(mask); err = ACAPI_Element_GetQuantities(guid, &par, &quantities, &mask); ACAPI_ELEMENT_COMPOSITES_QUANTITY_MASK_CLEAR(mask); ACAPI_ELEMENT_QUANTITY_MASK_CLEAR(mask);
2018-11-01 04:41 AM
GSErrCode err = NoError; API_ElementQuantity quantity; API_QuantitiesMask mask; API_Quantities quantities; API_QuantityPar par; GS::Array<API_CompositeQuantity> composites; quantities.composites = &composites; quantities.elements = &quantity; par.minOpeningSize = 0.3; ACAPI_ELEMENT_QUANTITY_MASK_SET(mask, column, coreVolume); ACAPI_ELEMENT_COMPOSITES_QUANTITY_MASK_SETFULL(mask); err = ACAPI_Element_GetQuantities(guid, &par, &quantities, &mask); ACAPI_ELEMENT_COMPOSITES_QUANTITY_MASK_CLEAR(mask); ACAPI_ELEMENT_QUANTITY_MASK_CLEAR(mask);