Dear All
When you have a study with a lot of requirements, and when the upstream requirements have changed, you can not merge the complete SR if you don't want to lose your specific datas and in this case it is very longer to do with compare and merge data by data.
I want to create a script to import the specific datas in the version.
i have adapted the script select project with "Metamodel.projectmodel.MediniProject" but it don't detect the model that i have in my model browser.
Can you help me ?
Thank you in advance
Philippe
function selectTargetModel() {
var output = undefined;
var sysmlModels = finder.findByType(Metamodel.projectmodel.MediniProject, true).asArray();
if (sysmlModels.length != 1) {
output = selectElement("Select target model", Metamodel.projectmodel.MediniProject, false);
} else {
output = sysmlModels[0];
}
if (output) {
console.log("Importing objects into into ''{0}''", output.name);
}
return output;
}