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)