Hello,
In AC22 API_BeamType contained attributes below:
API_OverriddenAttribute leftMat;
API_OverriddenAttribute topMat;
API_OverriddenAttribute rightMat;
API_OverriddenAttribute botMat;
API_OverriddenAttribute sideMat;
The following code was able to change the material:
ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, leftMat);
ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, botMat);
ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, topMat);
ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, sideMat);
ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, rightMat);
OVERRIDE_MATERIAL(clickedElement.beam.leftMat, paletteController.CurrentMaterial()->index);
OVERRIDE_MATERIAL(clickedElement.beam.botMat, paletteController.CurrentMaterial()->index);
OVERRIDE_MATERIAL(clickedElement.beam.topMat, paletteController.CurrentMaterial()->index);
OVERRIDE_MATERIAL(clickedElement.beam.sideMat, paletteController.CurrentMaterial()->index);
OVERRIDE_MATERIAL(clickedElement.beam.rightMat, paletteController.CurrentMaterial()->index);
In AC23 which attributes should be changed to modify API_BeamType material?
Regards,