add_id_to_component#

NexximComponents.add_id_to_component(component_id: int, name: str = None) int#

Add an ID to a component.

Parameters:
component_idint

ID to assign to the component.

namestr, optional

Component name. The default is None.

Returns:
int

Number of components.