We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-06-15 03:46 PM - last edited on 2023-07-13 04:19 PM by Doreena Deng
CHCopyC ("B",chgParam.name); chgParam.realValue = Value; err = ACAPI_Goodies (APIAny_ChangeAParameterID, &chgParam, NULL);
err = ACAPI_LibPart_GetParams (LibIndex, &aa, &bb, &addParNum, &getParams.params) ;
2015-06-16 12:03 PM
ACAPI_ELEMENT_MASK_SET (mask, API_ObjectType, yRatio); memo.params = getParams.params;
2015-06-17 07:59 AM
2015-06-17 10:46 AM
2015-06-17 11:30 AM
Rinovo wrote:The axial geometry of library parts is a bit messy in the API. If we're setting trying to set the axial width (for example) we set both the 'B' parameter and the
Soooo...
I didn't solve my issue, but!
By using elem.object.xRatio = valueX;
elem.object.yRatio = valueY;
I did find workaround to get desired A and B positions. No idea why i couldn't change A and B.
2015-06-17 12:39 PM