2 Replies Latest reply on Aug 7, 2015 3:35 AM by Abdul Rauf Aman

    Create drawing without specify assembly/part file path

    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.