MMpy.SchedulerResourceAllocationInfo.set_duration

Syntax

MMpy.SchedulerResourceAllocationInfo.set_duration()

Description

Schedules setting a new duration for the resource allocation.

Parameters

Name

Type

Description

duration datetime.timedelta​ New allocation duration
command SchedulerCommand | None Command object

Returns

Type

Description

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

Resource ID

IDPH_SCHEDULER_RESOURCE_ALLOCATION_INFO_SET_DURATION