batch to create PDF of first sketch

Hi folks,

is there a script which does the following with many files:

  1. open sldprt
  2. open first sketch
  3. hide sketch relations
  4. save as pdf with same filename (but .PDF)

Thanx!

Regards

duffy6

SolidworksApi/macros