In previous versions to v2020.2, when importing model libraries into Simcenter System Architect, users could choose between importing the native libraries referring them to their original directories or embedded the libraries copying all their content inside the active workspace:
But from v2020.2, Simcenter System Architect uses a different approach based on the use of environment variables.
The first thing, you will be asked when you start a new v2020.2 session is if you want to migrate your legacy data into your new Simcenter System Architect installation.
If you click on migrate or you decide to migrate your data later one you will need to do 2 previous steps:
1. Define a new empty workspace, where you will be working. For this after clicking on migrate, a new window will appear, where you will be able to give a name and location for your new workspace.You can have different workspaces and therefore you have the option to select which one is the active one.You also have the possibility to work locally or an in a collaborative environment using Simcenter Sysdm. For this last option you will need to provide the location of you Simcenter Sysdm Server and the port to connect to it.If afterwards you want to modify,add or change your active workspace you can always go to Edit > Preferences > Workspace and change these settings
2. Afterwards in order to migrate your data or to create a new library/project, you need to create an environment variable and all your files will be referring to this environment variable.The environment variable definition can be found under Edit > Preferences > General > Environment Variable settings.
Here like in the case of the workspace, we can define several environment variables, using them to point to different directories and we can also select, which ones will be our active ones.>> You can only have one active workspace but you can have several environment variables active.
Now let's import a library from the Simcenter System Architect 2020.1 to version 2020.2. We just need to go to import, select our old library and click on import: Then we will ask to select one environment variable, which will be used to reference the path to your new migrated library.
Once you have selected an environment variable, you can clicking on proceed and the first step of the integration will be performed.
In this first step all your data will be copied to your current workspace:
Then click on next and in the next page, click again on proceed to migrate all names and dependencies from your library.
Once this is done, you will have an overview of all the items, which have been successfully migrated to your new workspace.
Just click on finish and your library will be now accessible in Simcenter System Architect 2020.2.
Finally, you can check just by selecting one artifact in your migrated library, that now its new path is referencing to the new environment variable, we have created previously, and that all the data has been successfully migrated to Simcenter System Architect 2020.2.