CadSheetSetExamples
from OpenCAD2D.SheetSets import CadSheetSetExamples
class CadSheetSetExamples(System.Object) ยท CadSheetSetExamples in the .NET reference
The example sheet sets OpenCAD2D ships, the list the Create Sheet Set wizard's first route offers (A12-D19): our own, made by our writer, never AutoCAD's. They lie in the SheetSetExamples folder beside OpenCAD2D.Core.dll: New Sheet Set.dst, an empty set; OpenCAD2D Metric Sheet Set.dst, with the subsets General, Plans and Details, the set properties Client and Project Address, the sheet properties Drawn By and Checked By, and as its sheet creation template the layout "A1 sheet" of OpenCAD2D-sheets-mm.dwt beside it; and that template, a drawing in millimetres with the one sheet "A1 sheet" (841 by 594), a frame and a title block whose attributes hold \AcSm fields (the sheet's number and title, the set's name, client and address, who drew and who checked), which a new sheet binds to itself.
Properties and fields
EmptyName
EmptyName: ClassVar[str]
The name of the empty example set, which is also the name of its sheet set.
FolderName
FolderName: ClassVar[str]
The name of the folder, beside OpenCAD2D.Core.dll, the examples are shipped in.
MetricName
MetricName: ClassVar[str]
The name of the metric example set, which is also the name of its sheet set.
TemplateDescription
TemplateDescription: ClassVar[str]
The description the template carries, the text Select Template shows under its name.
TemplateFileName
TemplateFileName: ClassVar[str]
The file name of the drawing template of the metric example.
TemplateLayout
TemplateLayout: ClassVar[str]
The name of the layout of CadSheetSetExamples.TemplateFileName the metric example makes its sheets from.
ShippedFolder
ShippedFolder: ClassVar[str | None]
Gets the folder the examples are shipped in, SheetSetExamples beside OpenCAD2D.Core.dll; null where the dll has no place on disk.
Methods
FindIn
@staticmethod
def FindIn(folder: str) -> System.Collections.Generic.IReadOnlyList[str]
Lists the sheet set data files of a folder and its subfolders, in the order of the walk (CadSupportWalk): the folder's own files by name, letter case ignored and then as written, then those of its subfolders in the same way, so that the example sets the wizard lists are always in the same order.
Shipped
@staticmethod
def Shipped() -> System.Collections.Generic.IReadOnlyList[str]
Lists the example sets shipped with the program (CadSheetSetExamples.ShippedFolder).