Hi Guys
PFB the code i have written to get the color of the object
var aObjDefs = oModel.ObjDefList();
for (var j = 0; j < aObjDefs.length; j++) {
var oObjDef = aObjDefs[i];
var ObjColor=aObjDefs[i].getFillColor;
getFillColor doesnt return anything.Could you please tell me how to get the color of the object in
ARIS Report script.
Thanks and Regards
Manojna Kadiri
Jens Heylmann on
Hello Manojna Kadiri,
the class "ObjOcc" has the method "getFillColor". Your code using the object definitions calling "oModel.ObjDefList()".
Try:
...to get the object occurence list from model.
Greetings,
Jens