AnsweredAssumed Answered

Create drawing without specify assembly/part file path

Question asked by Abdul Rauf Aman on Aug 5, 2015
Latest reply on Aug 7, 2015 by Abdul Rauf Aman

Hi,

Could anybody help me out.

How to change macro below so that I don't have to specify the assembly/part file path. Assembly/part should open first before drawing can be created.

 

AssemPath = "\\D\SOLIDWORKS\1.sldasm"

 

'Insert view 1

    Set myView = Part.CreateDrawViewFromModelView3(AssemPath, "*Front", 0.09, 0.15, 0)

 

Thank you.

Outcomes