AutoName: Boolean;
AutoName: boolean;
The AutoName property determines whether name for condition branch in metamodel calculation chain is generated automatically.
Available values:
True. Default value. Name is generated automatically.
False. Name is set manually by the user. Use the IMsBranchCase.Name property.
Rules of automatic name generation:
Condition type | Name generated automatically |
Condition parameter names | "If {condition parameter name}". |
Condition branch parameter names | "If {condition branch parameter name}". |
Names of groups | "If {condition parameter name}" or {condition branch parameter name} in the {group name} group". |
List of elements creating selection | "If {condition parameter name}" or {condition branch parameter name} in the selection of N elements <list of elements from selection>". Where N is the number of elements in selection. The list of elements from selection is generated as follows: if N>6, then <first three elements, …, last three elements>; if N<=6, then <all elements>. |
Name of parameters creating selection | "If {condition parameter name}" or {condition branch parameter name} in selection by parameter {name of the parameter creating selection}". |
Condition by expression (for the IMsBranchConditionExpression type) | "If <condition>". |
Non-empty series (for the IMsBranchConditionNotEmpty type) |
The list of elements from selection is generated as follows: if N>6, then <first three elements, …, last three elements>; if N<=6, then <all elements>. |
Condition branch, executing if none of the IMsCalculationChainBranch.CaseList collection branches is not executed. | "Other". |
The property use is given in the example for IMsBranchCondition.ConditionJoin.
See also: