The HyperSizer equivalent to a HyperX Set is a Display Set.
HyperSizer Method
To create a new Display Set in HyperSizer use the HyperSizer.Project.DisplaySets.Create() method. displaySetName and componentIds must be defined as arguments in the method.
To create a HyperX Set, use the hx.Project.Sets.Create() method. An Optional argument is present to name the new set if desired.
import hyperx as hx
def CreateHyperXSet(project: hx.Project):
"""Create a new HyperX Set and adds zones to it."""
set = project.Sets.Create("My Set")
zoneIds = (1, 2, 3, 4, 5)
set.AddZones(zoneIds)