create#

classmethod ComponentGroup.create(layout, name, comp_name)#

Create a component group with a component.

Parameters:
layoutLayout

Layout to create the component group in.

namestr

Name of the component group.

comp_namestr

Name of the ComponentDef instance that the component group refers to.

Returns:
ComponentGroup

Component group created.