IModel.SetProductApplyCondition method
Namespace: NextDesign.Core
Description
Set the product application conditional expression for this model.
In addition, if an unassigned feature name is specified for this model in the product application conditional expression, the feature will be automatically assigned.
Also, if a conditional expression does not use a feature name already assigned to this model, it will automatically be unassigned from the feature.
If you specify an empty string for the conditional expression, all feature assignments will be cancelled.
argument
Name | Type | Description |
---|---|---|
expression | string | conditional expression |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid product conditional expression | ExtensionFormulaException | If an invalid product application conditional expression such as the following is specified - Conditional expression syntax error -Including non-existent feature name - contains feature names that cannot be uniquely identified |
Annotations
See GetProductApplyCondition() for the format of the product apply conditional expression.