
Read our FAQ for more information about macros and the API. This functionality is similar to built-in 'Save As' option for table: However macro preserves the special symbols like commas, quotes or new line symbols and properly.

This macro exports the selected tables (or tables by specified type) to the CSV (Comma Separated Values) file using SOLIDWORKS API.

This article looks at a powerful tool available within SOLIDWORKS, the application programming interface(API), for automating some of those tasks.

I recorded this macro in Solidworks for a pentagon and I tried to put a for-loop in it to draw my 200 pentagon in a row. Export SOLIDWORKS table to CSV using VBA macro. Many SOLIDWORKS users find themselves repeating the same or similar tasks as part of their modeling workflows. Macro operates in the background and needs to be run once a session to start monitoring. I have created a text file which contains coordinates of vertices of many (like 200) polygons and I want to draw simple 3D objects from this data. This VBA macro handles active document (part, assembly or drawing) save events (including save all and save as) using SOLIDWORKS API and runs a custom code.
SOLIDWORKS API VBA PARSE DIRECTORY HOW TO
A public version ( ) of a macro means that the VBA macro may be downloaded and run by any member, but the source code is only available to premium members. Run VBA macro automatically on document save using SOLIDWORKS API. For the past few days, I have been trying to figure out how to upload a file to Salesforce from Java using the REST API.

SOLIDWORKS API VBA PARSE DIRECTORY FREE
Check out our free PDF, “VBA Debugging Tips for SolidWorks API Programmers” for help with run-time and compile errors you may encounter while programming. If you are using VBA for Excel, you could use the method described in the article, Excel VBA Save File Dialog, GetSaveAsFilename() If you are not using VBA for Excel you will have to use windows API, please see MSDN, Microsoft Display Open and Save As Dialog Boxes in Access with API Functions.

You can search for all macros containing a certain API call by typing that call name in the search box at the bottom of the page.
