Hi Guys

With the below code i get the below error when i try to run the macro

"Cannot find method Designer.setFillColor(.........

var def =  Designer.getObjDefByGUID(Context.getLoginInfo(model).getDatabase(),"c291d085-8d58-11e1-124f-b9143ee134aa");                

var occs = Designer.getOccs(def);    

 for(var i=0; i<occs.length; i++){     

      setColor(occs[i]);

   }

     function setColor(occ)

   {    

   Designer.setFillColor(model,occ,Constants.C_BLACK);

Could you please tell me what went wrong.

Thanks and Regards

Manojna Kadiri

 or register to reply.

Notify Moderator