Table of Contents

CadSheetSetPublish

from OpenCAD2D.SheetSets import CadSheetSetPublish

class CadSheetSetPublish(System.Object) ยท CadSheetSetPublish in the .NET reference

The sheets of a sheet set that a publish is to write, as the Sheet List's Publish items choose them (D17): a CadPublishList of the sheets in set order, each named as AutoCAD names a published sheet (its number, a space and its title, the title alone for a sheet with no number), with the set's output folder, one file or a file each, and the page setup override if one was picked; and a line for each sheet left out and why. Nothing is written here: the window's publisher carries the list out (CadPublisher.Publish), as it does for the Publish dialog's list.

Properties and fields

List

.NET

@property
def List(self) -> CadPublishList

Gets the list to publish: the sheets in the order they are written, and the options. Set CadPublishList.Options' CadPublishOptions.PublishTo to CadPublishTo.PlotterNamedInPageSetup to publish to the plotter.

Skipped

.NET

@property
def Skipped(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets a line for each sheet left out, in set order: Skipped S-501 - Typical Details: not included for publish. Empty where all are published.

Summary

.NET

@property
def Summary(self) -> str

Gets the first line of the report: Publishing Example Tower: 11 sheets, 9 to publish, in set order.

Methods

Create

.NET

@staticmethod
def Create(
    set: CadSheetSet,
    selection: System.Collections.Generic.IEnumerable[CadSheetComponent],
    pageSetupOverride: str,
    pdfOptions: CadPublishOptions,
    current: CadDocument,
) -> CadSheetSetPublish

Builds the list for a selection of the Sheet List: the sheets under the selected nodes, in set order, or all of the set where nothing is selected or the set itself is.