The multirange.add() method adds a new time range to the current selection.
DayPilot.Scheduler.multirange.add(selection);
dp.multirange.add({start: "2025-01-01", end: "2025-01-05", resource: "R1"});