sgio.FormatNumberingRequirements#
- class sgio.FormatNumberingRequirements(name: str, nodes_consecutive: bool, nodes_start_from: int, elements_consecutive: bool, elements_start_from: int, allows_zero_id: bool = False)#
Numbering requirements for a target format.
- Parameters:
name (str) – Human readable name for messages (e.g., “VABS”).
nodes_consecutive (bool) – Whether node IDs must be consecutive.
nodes_start_from (int) – Required starting value for node IDs when consecutive.
elements_consecutive (bool) – Whether element IDs must be consecutive.
elements_start_from (int) – Required starting value for element IDs when consecutive.
allows_zero_id (bool) – Whether ID value 0 is allowed.
- __init__(name: str, nodes_consecutive: bool, nodes_start_from: int, elements_consecutive: bool, elements_start_from: int, allows_zero_id: bool = False) None#
Methods
__init__(name, nodes_consecutive, ...[, ...])Attributes
allows_zero_idnamenodes_consecutivenodes_start_fromelements_consecutiveelements_start_from