Hello
Through the API, we add files to an assembly.
Some of the files that we have to consider are step files. These files must be saved beforehand in sldprt format. After we save the documents through the saveAs API, we add them to the assembly and try closing them.
This is the issue, we have no way of closing the documents through the API.
Did any body here meet this kind of issue ?
To SolidWorks programmers, I would like to add the following, how come we can not close a document through the modeldoc2 Interface ? Or alternatively we could pass the interface ModelDoc2 to the SolidWorks Application interface et voilà.
I am flabbergasted that we still can only use the session name, which is not a very robust of working
Regards
Omar Msaaf
SolidworksApi macros