I'm trying with very little success so far to use the COM method to control SolidWorks from Matlab. I found in another thread () this piece of code, that is perfectly working:
SW = actxserver('SldWorks.Application');
set(SW, 'Visible', true);
Part1=invoke(SW,'NewPart') %new part
SWSMan=invoke(Part1,'SketchManager')
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.
SolidworksApi macros