Question & Answer
Question
How do you set the Initial Flow line style to rectilinear for all Sysml projects in IBM Rational Rhapsody?
Answer
Apply the following steps to set the Initial Flow line style to rectilinear for all Sysml projects:
- Navigate to the Rational Rhapsody installation directory
For example: C:\Program Files\IBM\Rational\Rhapsody\RHP 7.6\Share\Properties
- Create a new empty file called Sysml.prp
- Open the "Sysml.prp" file in a text editor
- Add the following code
Subject Activity_diagram
Metaclass ControlFlow
Property line_style Enum "straight_arrows,rectilinear_arrows,spline_arrows" "rectilinear_arrows"
end
Metaclass DefaultTransition
Property line_style Enum "straight_arrows,rectilinear_arrows,spline_arrows" "rectilinear_arrows"
end
end
- Save the "Sysml.prp" file
- Launch Rational Rhapsody and open a new empty project
- Click on "File" >> "Add to Model" and locate the SysML.sbs file as shown below
- Ensure that you add the "SysML.sbs" file as a unit into the project model
- After the “SysML” profile is added to the project model, open the SysML profile feature window
- Within the feature window, expand the “Model” node and click on the ellipse button present in the “Propertyfile” field as shown below
- Specify the complete path pointing to the “SysML.sbs”
- Click OK
- Re-launch Rational Rhapsody application and open any sysml projects
- Create an “Activity Diagram” and place the Initial Flow line symbol connecting to an “Activity” symbol.
You will notice that the Initial Flow line symbol by default will appear rectilinear.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Rational Rhapsody Developer","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21511871