3 Replies Latest reply on Sep 29, 2016 6:35 PM by Artem Taturevych

    SolidWorks COM interfaces list from Matlab

    Alexandre Christe

      I'm trying with very little success so far to use the COM method to control SolidWorks from Matlab. I found in another thread (COM classes appear private from Maltlab) this piece of code, that is perfectly working:


      SW = actxserver('SldWorks.Application');

      set(SW, 'Visible', true);


      Part1=invoke(SW,'NewPart') %new part


      S1=invoke(SWSMan,'InsertSketch','1') %new sketch


      Its first line creates a link with SolidWorks, the second open a SolidWorks windows etc. I would like to know how to query the possible methods that can be 'invoked' plus help about them, i.e. about their arguments.