Each drawing has one or several layouts that represent model
space or paper space. To export specified layouts to a PDF file, add
the layout name in the specific array by calling the
addLayout()
method of the
PDFExportParams
class.
If the array of layouts is empty, only the active layout is exported. The page count of the output PDF file depends on the element count in this array.
The ability to set page parameters for the output PDF file depends on whether Zoom to Extents mode is switched on or off:
To get the array with names of exported layouts, use the
layouts()
method of the
PDFExportParams
class.
To set a new array of exported layouts, use the
setLayouts()
method of the
PDFExportParams
class.
Export to PDF Parameters and Flags
Export Several Drawings to one PDF File
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|