diPropDefaultScopes
constraint diPropDefaultScopes string "scopeName"
Description
Specifies the default scope for each profile. The value is a comma-separated list of scopes. The first scope value listed is the default scope.
When a profile with scopes defined is selected for a design intent on the Create Design Intent Form and Edit Design Intent Form, a combo box situated beside the Profile field lists all the defined scopes available. The default scope specified is automatically selected in the combo box.
You can filter which of the available defined scopes are visible on the design intent forms using the environment variable diPropScopesFilter.
GUI Equivalent
Example
envGetVal("constraint" "diPropDefaultScopes")
A design intent has three profiles:
Profile1 has scopes Scope1, Scope2, Scope3
Profile2 has scopes ScopeA, ScopeB, ScopeC
Profile3 has scopes Scope1, ScopeB
To define that scopes Scope1 and ScopeB are the default scopes for these profiles:
envSetVal("constraint" "diPropDefaultScopes" 'string "Scope1,ScopeB")
The defaults for the profiles are:
Although Profile3 has scopes Scope1 and ScopeB which are both defined as defaults, listing Scope1 first, defines it as the default.
Related topics
Defining Scopes for Profile Properties
Return to top