Sync Connections (SysML > Target & Target > SysML)
The Sync SysML → Target command first compares the source and target of the connection, and then updates the target end of the connection with the same values/structure as the source (SysML element) end of the connection. Similarly, the Sync Target → SysML command first compares the source and target of the connection, and then updates the source (SysML element) end of the connection with the same values/structure as target end of the connection. The commands can be invoked on a single connection (or group of connections), or to one or more SysML elements. In the latter case, it will include connections to all elements in the context of the selected SysML element(s), in a recursive manner.
The behavior of the sync commands depends on the connection types. Currently, the sync operations (both commands) are supported for reference, data map and model transform connections.
In general, the Sync SysML → Target command does the following types of updates to the target element.
- For a reference connection
- Updating the connection to point to this new version of the target element
- For a data map connection
- All the actions for a reference connection, plus
- Update the name and other attributes of the target element to match the SysML element
- Creating a new revision of the target element
- For a model transform connection
- All the actions for a data map connection, plus
- Updating the structure of the target element to match the SysML element
In general, the Sync Target → SysML command does the following types of updates to the SysML (source) element.
- For a reference connection
- Updating the connection to point to the new version of the target element
- For a data map connection
- All the actions for a reference connection, plus
- Update the name and other attributes of the SysML element to match the target element
- For a model transform connection
- All the actions for a data map connection, plus
- Updating the structure of the SysML element to match the target element