MMpy.SchedulerAttributeUnits.set_base_unit

Syntax

MMpy.SchedulerAttributeUnits.set_base_unit()

Description

Sets a new base unit for the attribute units object.

Parameters

Name

Type

Description

unit_id Str​ Unis object new base unit id
command SchedulerCommand | None Command object

Returns

Type

Description

Bool True if no errors were detected. False otherwise.​

Notes

Setting new base unit will not re scale existing attribute values!

Resource ID

IDPH_SCHEDULER_ATTRIBUTE_UNITS_SET_BASE_UNIT