Skip to main content

Common Problems and Solutions

This page explains common problems and solutions when using the YamlExchange package.

Symptoms and Solutions​

SymptomCauseSolution
The [YAML] group is not displayed on the [Data] tab of the ribbonYou do not have a project open.
The [YAML] group is only displayed while a project is open.
If it is not displayed even after opening a project, the extension has not been loaded.
Please open a project.
If it is still not displayed after opening, restart Next Design.
If the problem persists, please reinstall.
Models are duplicated after importing the same file twiceModels added without writing id are created anew each time they are imported.On the screen, the id is automatically written back if it's a file in the Yaml folder. It is not written back to files selected in the file selection dialog, so please re-export it after importing (Handling model ids).
When importing with yamlexchange, please use --write-back.
Import is interrupted because there is no model corresponding to idThere is no model corresponding to id in the project.
This could be a typo in id, or the id of a model in another project.
This also applies if you perform an Undo after importing on the screen and writing back the id, or if you close the project without saving.
If it's an existing model, write the exported id as is.
If it's a new model, delete the id or change it to a value that starts with new-.
Import is interrupted because there is an invalid value in idYou have written a custom value like SOF-1 in id.If it is a new model, delete the id or add new- (e.g., new-SOF-1). The id of the reference pointing to that model should also be the same value (id matching).
After importing, references that were not written are removed or models that were not written are deletedYou selected [Yes] in the import method.For files where AI only wrote part of it, select [No].
Child elements that were removed from the YAML are not deletedYou selected [No] in the import method.
With [No], models that are not written in the YAML are not deleted.
Select [Yes] and re-import (Import method).
[Yes] This will also remove references that are not written in the YAML.
No reference madeThere is no model corresponding to the referenced id (an id created by the AI, a typo, etc.).Please rewrite the referenced id to the value written in the exported YAML.
If you are referencing a newly created model in the same file, write the same value starting with new- in both the creation and referencing sides (Reference handling).
If you have the AI ​​edit it, please pass YamlEditGuide.md to have it make the corrections.
Model not moved even though written under a different parentThis is a move to a subordinate of itself, or a move where a model of that class cannot be placed at the destination.Check the reason why it wasn't moved in the output tab of the information window (category [YAML Exchange]) or in the output of yamlexchange (Moving Models).
Value remains even though you intended to delete itThe way you wrote to make the value empty is incorrect.See Import Rules > Handling of Unwritten Items.
If you let AI edit it, pass YamlEditGuide.md and let it make the corrections.
The process is interrupted with an error that $file cannot be foundThe complete set of files is not available (only the main file was copied, the file name of the split file was changed, etc.).Please pass the entire export destination folder.
Some models are not imported even though the import was performedThe models written in the YAML are outside the subdirectory of the selected model.
In the confirmation dialog, it is included in the number of warnings, and the content is displayed in the output tab of the information window (category [YAML exchange]).
Select the model you want to import, or its parent model, and re-import it.
When importing, a dialog box for selecting a file appearsNeither the selected model nor any of its subordinate models are in any file in the Yaml folder (it hasn't been exported yet, was created after exporting, the file name was changed, etc.).In most cases, re-export the model and then import it (When a dialog box for selecting a file appears).
When you open the main file, there is only the line $fileBecause only some models were exported, the main file only contains the table of contents (the line $file).The model is in the file beyond $file. When you select a project and export it, the contents of the model are written to the main file (When only a part is exported).
The import confirmation dialog does not display details of changes or warnings.Only the number of changes is displayed in the confirmation dialog.Please check the details of changes and warnings in the Output tab of the Information window (Category [YAML Exchange]).
Click [Cancel], check the Output tab, and try importing again.
"Export interrupted." or "Import interrupted." is displayed.The process failed midway.
If the import is interrupted, nothing changes to the model.
The dialog only displays what happened.
Check the Output tab of the Information window (Category [YAML Exchange]) and follow the displayed instructions.