Printing of drawings in a folder, through personalized property

Modified on: March 23,2021  
Downloads: 191  


Description:I printed in .PDF or the standard printer all the .SLDDWR files inside a specified folder. However, all files, SLDPRT, SLDASM, SLDDRW, must be in the same folder.
    Precondition: Personality of the drawings must be filled out This macro presented has as main functions, to separate and / or print the drawings in “.SLDDRW” right on the printer, or in “.PDF” files. In the case of printing in “.PDF”, the macro creates a folder for each sector, and saves the files “.PDF” in each folder of its respective sector All option (3): When the option all, is selected when choosing a sector, the macro will print all files, the user being able to choose the printing option directly on the printer's default printer. computer, or save the “.PDF” files in the same folder as the “.SLDDRW” files. 1. Copy the address of the files and paste in field 1 2. Validate the path in the “Validate path” button 3. Window to choose the sector, or print all “SLDDRW” 4. Select this option to save the files of the chosen sector within a folder, with the same name as the sector NOTE: If you select "All" the files will be saved in the same folder as the files “.SLDDRW” 5. Select this option to print files directly to the printer NOTE: This option prints on the computer's default printer 6. Start file generation or direct printing to the standard Windows printer 7. Close the macro 8. Select this option so that the files that had the custom properties sectors written in the “0003 Plasma” model, are checked and printed if have the sector marked. 9. Screen that displays the drawings that have been printed Considerations: The ideal to run is macro only once, and later, close it to print the next sector. That is, it is ideal if you create a tool to use this macro with just one click.
  Postcondition: In this macro you select the custom property and the folder, and choose the printer, or whether to save all files in .PDF, for the chosen option. And in the side window the macro reports only the drawings that have been printed.
SOLIDWORKS version: Unknown
Programming Language: SW_VBA


Macros might contain viruses or other security hazards. SOLIDWORKS Corporation has not verified that the macros posted on this site are safe and that they came from a trustworthy source.

Download the SOLIDWORKS Macro.


(Login required)  

Other contributions from this user




cassio alves

User since: 7/6/2010
Title: Product/Project Manager
desenho industrial/mecanico.e animação 3D
toda a area de 3D mecanico e animação é de meu interesse
  Report Inappropriate User
Report Inappropriate Comment