SysML, UAF, UML, and UPDM Profiles > SysML profile > Constraint blocks > Constraint parameters > Changing the type of a constraint parameter (SysML)
  
Changing the type of a constraint parameter (SysML)
You can set the type and default property of a constraint parameter through its context menu.
To set the type of a constraint parameter:
1. Locate the Constraint Parameter whose type you want to change. You can use the Parts pane to see Constraint Parameters in context.
2. Right-click the Constraint Parameter, point to Set, and then click Type, Type (Redefinition Only) or Type (Top Level Definition):
Type command is available when the Constraint Parameter is not a redefinition.
The Type (Top Level Definition) command is available when the Constraint Parameter is a redefinition. The command sets the type of the top-level Constraint Parameter.
The Type (Redefinition Only) command is available when the Constraint Parameter is a redefinition.
If the Flow Port is a real redefinition, the command sets the type of the Constraint Parameter. If the Flow Port is a virtual redefinition, the command sets the type of the Constraint Parameter (the real redefinition) on which the virtual redefinition is based.
When changing the type of a redefinition, you cannot create a new type, and you can change the type only to a subtype of the current type. Tell me more...
3. To use an existing item as a type:
a. In the Options group, click the Existing Type option.
b. Select the item that you want to use as a type, and then click OK.
Note that, in the Existing Type: pane, you can click the Find Items button to open the Add New Search Folder dialog where you can specify the Type and a subset or the full Name of the items that you want to find.
To create a new item to use as a type:
a. In the Options group, click the New Type option.
b. From the list, Type select the type of the item you want to create and use as a type.
c. In the Name box, type the name of the item that will be used as a type, and then click OK.