freddy's picture

Good day,

We are using ARIS Version 97.0.0.958072.

When I export a model image through ARIS Architect all the Attributes on the image are displayed correctly:

But when I export the same model image through a script some Attributes are displayed as Untitled:

Does anyone know what might cause this behaviour?

 

Here is the script code that export the model image:

var nLanguage = Context.getSelectedLanguage();
var aModel = ArisData.getSelectedModels()[0]

var aModelPic = aModel.Graphic(false, false, nLanguage,true);
var sTargetFile = "c:\\" + aModel.GUID() + "-" + nLanguage +".png";
if (aModelPic.Save(sTargetFile)) {
    Dialogs.MsgBox(sTargetFile);
}

 

Tags: ARIS Report Scripting ARIS script script