Drag-n-drop operations for Local File System Repositories.
This section presents a summary of drag-and-drop operations for models managed in local file system repositories. To learn more, refer to the step-by-step instructions for each model type in the Syndeia Tutorials document (see section 3.2 for details).
# | Drag This | To This | With Connection Type | And This Will Happen |
L1 | Anything from the System Model Panel (or Repository Panel) | Anything in the Repository Panel (or System Model Panel) | Reference | Reference Connection will be created but nothing will be generated. |
L2 | SysML Block | Folder | Model Transform | User will be presented three options:
|
Excel | ||||
L3 | SysML Block | Excel Workbook | Model Transform |
|
L4 | SysML Block | Excel Sheet | Model Transform |
|
L5 | Excel Table | SysML package | Model Transform |
|
L6 | SysML Block | Excel Table | Data Map |
|
L7 | SysML Block Instance | Excel Table | Data Map |
|
L8 | Excel Row | SysML package | Data Map |
|
NX | ||||
L9 | NX Part | SysML package | Model Transform |
|
L10 | SysML Block | Folder | Model Transform |
|
Creo | ||||
L9 | Creo model | SysML package | Model Transform |
|
L10 | SysML Block | Folder | Model Transform |
|
Simulink | ||||
L9 | SysML block | Folder | Model Transform |
|
L10 | SysML Activity | Folder | Model Transform |
|
L11 | Simulink model | SysML package | Model Transform | Users will be presented with 2 options:
|
L12 | SysML State Machine | Folder | Model Transform | Generates a Simulink model (as L2 above) with a statechart subsystem corresponding to the SysML state machine. |
L13 | Simulink statechart subsystem | SysML package | Model Transform | Generates a SysML state machine (in the package) corresponding to the statechart |
Creating connections between existing model elements
The drag-n-drop operations listed in the table above generate models. Starting with this release, Syndeia can also create model transform and data map connections between existing model elements without generation. You can then perform a compare and sync operation on these connections to sync the models. The following drag-n-drop operations are available between existing model elements:
SysML Block < – > Excel table (Model Transform)
SysML Block < – > Excel table row (Data Map)
SysML Block Instance < – > Excel table row (Data Map)
SysML Block < – > NX CAD model (Model Transform)
SysML Block < – > Creo model (Model Transform)
SysML Block < – > Simulink model (Model Transform)
SysML Activity < – > Simulink model (Model Transform)
SysML State Machine < -- > Stateflow Statechart (Model Transform)
Additional Notes on SysML and Excel drag-n-drop operations
Column names in the Excel table (header row) must be alpha numeric (white spaces and underscores are allowed) so that they can be used to generate block value properties.
When generating SysML block / instances from Excel data, or when synchronizing Excel > SysML, the following data mapping rules are followed.
When generating Excel tables and rows from SysML elements, or when synchronizing SysML > Excel, the following data mapping rules are followed.
Note: Excel does not distinguish between integers and real numbers, so they are both mapped to Numeric type.
Ensure that the Excel file is closed before any drag-n-drop or sync operations from SysML to Excel. If not, the information will not be written to Excel.
Rhapsody stores the default values of values properties of a block as a String object, even if the value is a number, and hence when the value is written to an Excel table row, it is written as a String and not a Numeric object.
The Syndeia profile for Rhapsody provides the following additional value types—String, Integer, and Boolean. These value types are not available with the default SysML profile in Rhapsody.