Subversion Repositories wimsdev

Rev

Rev 837 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. function zirkel2wims(type,name){
  3.     var data;
  4.     if(type != null && name != null){
  5.         // get only the things we want...
  6.         data = document.getElementById("zirkel").getDrawing(type,name);
  7.     }
  8.     else
  9.     {
  10.         // this function retreives all construction details
  11.         // excluded objects with name prefix "my_"
  12.         data = document.getElementById("zirkel").getAllObjects();    
  13.     }
  14.     if(data.indexOf("error") != -1){alert(r19+"\n"+data); return "error";}else{return data;}
  15. }