Convert component to a variant choice
[variantComp,choices] = makeVariant(components)
[variantComp,choices] = makeVariant(components) converts components to variant choices and returns the parent component and available choices.
variantComp
choices
components
collapse all
Architecture components to be converted to variants.
Data Types: systemcomposer.arch.Component
systemcomposer.arch.Component
Component that contains the variants.
Choices available in the new variant.
Data Types: string
string
addChoice | getChoices
addChoice
getChoices