0 Replies Latest reply on Nov 6, 2014 11:44 AM by roberto gennari

    Solidworks prestance very slow after I used my addin code!!! Is a big problem

    roberto gennari


      I have a big problem after using the code contained in my addin.

      After using, the graphics become very slow in Solidworks , like if my part was very big (like a big assembly).

      In my addin I add eight dimensions from edge and sketchpoint in a edit sketch.


      I use this selections systems:


      Select4  -- for select a single edge of my array of edges (of a face with only  4 edges)


      SelectByID2 for select the sketchpoint


      and after I add the dimension.


      Before after my code I used  swModView.EnableGraphicsUpdate= False and swModView.EnableGraphicsUpdate= true



      I don't now where's the problem.


      Can someone help me?