Represent a variant component in a System Composer model
This class inherits from systemcomposer.arch.BasePort
.
varComp = addVariant(
archObj
,compName)
The addVariantComponent
method is the constructor for the
systemcomposer.arch.VariantComponent
class.
addChoice | Add a variant choice to a variant component |
setCondition | Set the condition on the variant choice |
setActiveChoice | Set the active choice in the variant component |
getChoices | Get available choices in the variant component |
getActiveChoice | Get the active choice on the variant component |
getCondition | Return the variant control on the choice within the variant component |
destroy | Remove and destroy a model element |