AnsweredAssumed Answered

change drawing template VBA

Question asked by Nigel Shaw on Apr 7, 2016
Latest reply on Jun 29, 2017 by Deepak Gupta

Hi

 

I need to create a drawing for parts & Assemblies in VBA but by selecting the drawing template depending on the part / assembly... For example:

 

Parts = "C:\Solidworks Files\Templates\Drawing-Part.drwdot"

Assembly = "C:\Solidworks Files\Templates\Drawing-Assy.drwdot"

 

from a top level assembly, i am iterating through the child objects and depending on the type (Part or Assembly), i need to use the appropriate template. Cant find any code anywhere.... Can anyone help?

 

 

Cheers

Nacho

Outcomes