Hi there:

I am using this function:

 

function eliminarDiagramas(op){
   var diagramas = omf.toOmfObject(op).omfGetAssignedDiagrams().toArray();

   for (var i = 0; i < diagramas.length; i++) {
       if(diagramas[i].toString().indexOf("XX-Storage") > -1){
           // Desasignar el diagrama enlazado
           //omf.toOmfObject(op).omfUnassignDiagram(diagramas[i]) ?????????
       }
   }
}

 

I do get the diagrams connected to a object, and then I look for any of them being into the "XX-Storage" folder. After that, I wuold like to remove this conection between the object and that diagram. How should I do that?

 

Thanks in advance,

 

Ignacio

 or register to reply.

Notify Moderator