Cameo Simulation Toolkit can access files as «AttachedFile» in MagicDraw using only file names (without paths), if there are references to files by names not found in project directories. The attached files supported are as follows: However, if the referenced file is in both the project directory and in the attached file, the following conditions are applied: - If the file is in both the project directory and the attached file, the file in «AttachedFile» will be used, and the following warning message will appear in the Console ed file instead of the project directory."
- If the file is in the project directory but not in the attached file, the file in the project directory will be used without any displayed messages.
- If the file is not in the project directory but is in the attached file, the file in «AttachedFile» will be used, and the following information message will appear in the Console pane, “INFO: The attached file <file name> is loaded.”
- If the file is not in the project directory and not in the attached file, the following error message will appear in the Console pane, “ERROR: Cannot find file or attached file with '<file name>'.
- If the mos/mo file (Dymola) is located in both the working directory and the attached file, the file in the current working directory will be used, and the following warning message will appear in the Console pane, "Warning: Use '<file name>.ext' in the working directory instead of the attached file."
|