setAddedCost method
Sets added cost.
Sets added cost value for given impedance or accumulate attribute.
Parameters:
attributeName
— The name of attribute.addedCost
— The added cost.
Implementation
void setAddedCost(
{required String attributeName, required double addedCost}) {
final coreAttributeName = _CString(attributeName);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ServiceAreaFacility_setAddedCost(
_handle, coreAttributeName.bytes, addedCost, errorHandler);
});
}