Extending the properties and linking capabilities of requirements and other SysML items (SysML)
You can extend the properties and linking capabilities of Requirements and other SysML items by linking new Tag Definitions to the appropriate Stereotypes in the SysML Profile.
Alternatively, you can use PTC lightweight extensions to create new item and link types that are subtypes of SysML items and links. For information about PTC lightweight extensions, click here
.
For example, to create a new Tag Definition for Requirements, apply the Tag Definition to the «requirement» stereotype - the Tag Definition is then displayed on the requirement pane of a Requirement's Property Pages.
If you create a Tag Definition of type Reference, you can make the Tag Definition browsable so that it can be viewed in the appropriate SysML pane. For example, if you apply a browsable Tag Definition to the «requirement» stereotype, when you expand a Requirement in the Requirements pane, the Tag Definition you applied will be shown - when you expand the Tag Definition, items linked to the Requirement through that Tag Definition will be listed.
It is important to create Tag Definitions outside of the SysML Profile package, and then link those Tag Definitions to Stereotypes within the SysML Profile.
Do not create new Stereotypes and Tag Definitions in the SysML Profile package or any of its sub-Packages. On updating the SysML Profile, the update process will delete those Stereotypes and Tag Definitions; however, the update process retains Stereotype links to Tag Definitions that are not in the SysML Profile.
Do not attempt to copy and paste an existing Tag Definition, Modeler will move the Tag Definition to the target Package.
To extend the properties or linking capabilities of a SysML item:
1. From Modeler, open the Model in which you want to extend the SysML profile.
2. Unprotect the SysML Profile:
a. Open the Properties Pages for the SysML Profile package.
b. Click the Access Permissions tab, and then clear the Protected check box.
3. Outside of the SysML Profile package, create the Tag Definition:
a. Right-click the Package in which you want to create the Tag Definition, point to New, point to UML, point to Profiles, and then click Tag Definition.
b. Type the name of the Tag Definition.
c. Open the Tag Definition's Property Pages, and then click the Type tab.
d. Select the required Data Type, and set the Default Value or Values as appropriate. For more information about the data types, use the What's This? help.
e. If you set the Data Type to Reference, click the Link button, and then select the check boxes associated with the appropriate model item types - users will be able to link to items of the selected model item types through the Tag Definition.
f. Click the Usage tab, and then set the check boxes as required. For more information about the available options, use the What's This? help.
g. If you set the Data Type to Reference and you want the Tag Definition to be shown in the appropriate SysML pane, select the Browsable check box.
h. On the Usage tab, click Publish, and then from the confirmation dialog click Yes.
4. Link the Tag Definition to the appropriate Stereotype in the SysML Profile:
a. Open the Tag Definition's Property Pages.
b. Click the Items tab.
c. Click the Link button.
d. Select the check box associated with the Stereotype to which you want to link the Tag Definition, and then click OK.
5. Protect the SysML Profile:
a. Open the Properties Pages for the SysML Profile package.
b. Click the Access Permissions tab, and then select the Protected check box.