Hi all,
ich have the problem that i wrote an report which reads all objects of my prozessmodell but ist dosent sort and filter and i don´t know what to do.
In detail: I have an prozessmodell and i only need the "Function" objects for my report and have to sort them subject to the Y-position.
Could somebody help me?
Here is my Code which reads the Objects.
function objects(){
aObjDefs = oModel.ObjDefList();
var sObjName;
for (var j = 0; j < aObjDefs.length; j++) {
var oObjDef = aObjDefs[j];
sObjName = oObjDef.Name(nLocale);
// if(oObjDef.AttrType == "Function"){
oOutput.TableRow();
oOutput.TableCell("Call " + sObjName, 50, "Arial", 10, Constants.C_BLACK, Constants.C_TRANSPARENT, 0, Constants.FMT_LEFT | Constants.FMT_VTOP, 0);
// }
}
}
Deepti Lad on
Hi Klien,
You can write your script for Object Occurrences instead of Object def and then sort my geometry.
Below post might help you:
http://www.ariscommunity.com/users/deeptilad/2012-11-27-how-sort-order-objects-aris-script-report
Regards,
D