Having a named Model version, it will store the generated code files in the Model folder with a subfolder of the version name. (When using “Execute all creation steps”)
{Storage}\Model\Version_name\Source_code\…
When manually clicking the “Generate source code” it seems to ignore the Version name and do store it into Model/Branch
{Storage}\Model\Branch\Source_code\…
When you generate the IAM model file, it will however put the file into Model/Branch
{Storage}\Model\Branch\MODEL_SYNC.sql
It would be nice to have it at least always follow the Model/Branch structure, as you are working in a specific branch. This would result in 2 options since Version names are not mandatory. (Same for IAM’s “different branch name”)
{Storage}\Model\Branch\Version_name\Source_code\…
{Storage}\Model\Branch\MODEL_SYNC.sql
or
{Storage}\Model\Branch\Source_code\…
{Storage}\Model\Branch\Different_branch_name\MODEL_SYNC.sql
This will also reduce the risk of accidentally overwriting files in a folder, because one decides to use the same version naming on different branches within the same Model.