Anyone figured out how to load drawing views automatically over multiple drawing sheets?
I've been using the attached macro.
To use this macro extract the files on a known location and go to Tools > Macro > Run and then browse to this macro.
In case you get error while running the macro, then you may have to fix the libraries to get the macro work.
To fix libraries, open the macro (Tools > Macro > Edit). Go to references, uncheck the three highlighted libraries in the picture or missing libraries and select same for your version of SolidWorks.
The macro give a message in case there is no document open or current document is not a drawing. In this case if you don't see the message window, then press alt + tab to get to that window (this is known issue with 64 bit OS)
Which means drawing views will be loaded automatically once i insert the part into the drawing sheet? i mean if i insert 40 parts in 40 sheet and i run this macro, which will automatically create multiple views for all 40 parts?
Pre-defined views in your drawing template allow you to establish particular views upon creation of the drawing from a part. Have you looked into this or has this not worked for your scenario?
Its working good, but i have few problem with this macro. Drawing is created in a blank sheet format also we have to run this macro individualy for each part and we have to save it individualy. i cant save drawings of one whole assembly parts as one file
This macro is supposed to load view and not create views. OK to under it better, create a drawing from a part and assembly and create some views in the drawing. Now close both the files (part/assembly and drawing). Now delete the part/assembly from which you've created the drawing and open the drawing. You'll see error message for missing part/assembly and drawing views will have cross. Restore the deleted part/assembly from recycle bin and then run this macro. The views will be restored. This macro does a similar job which is being done by right clicking on a view and select reload view.
Retrieving data ...