Hi, All.
I don't want to ask for the Export PDF settings and file name.
Something is wrong with my Script?
I am using Vectorworks 2017.
if vs.AcquireExportPDFSettingsAndLocation(False):
if vs.OpenPDFDocument('test.pdf'):
vs.Layer('layer_name')
flag = vs.ExportPDFPages('layer_name')
vs.ClosePDFDocument()