Table of Contents

CadTransmittalFile

from OpenCAD2D.SheetSets import CadTransmittalFile

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

A file of a transmittal, a row of the Create Transmittal dialog's Files Table: what a sheet set needs to be opened elsewhere, where it is, where it goes in the zip, how big it is and why it is there. Made by CadTransmittal.Gather. A file that is not found is listed, unchecked, so that the report says so.

Properties and fields

FolderInZip

.NET

@property
def FolderInZip(self) -> str

Gets the folder of the file in the zip as the Files Table writes it: .\ for the folder of the .dst, .\Architectural, .\Files; empty where the file was not found.

IsFound

.NET

@property
def IsFound(self) -> bool

Gets whether the file was found.

IsIncluded

.NET

@property
def IsIncluded(self) -> bool
@IsIncluded.setter
def IsIncluded(self, value: bool) -> None

Gets or sets whether the file goes in the zip: true for a file found until unticked; a file that was not found is never included.

Kind

.NET

@property
def Kind(self) -> CadTransmittalFileKind

Gets why the file is sent.

Name

.NET

@property
def Name(self) -> str

Gets the name of the file, with its extension.

Note

.NET

@property
def Note(self) -> str

Gets what the Files Table says besides: not found, or why the drawing's own references could not be listed; empty for none.

PathInZip

.NET

@property
def PathInZip(self) -> str | None

Gets the path of the file in the zip, with backslashes (Architectural\A-101.dwg, Files\site-photo.jpg); null where the file was not found.

Reference

.NET

@property
def Reference(self) -> str

Gets the path as the file that names it writes it (..\Survey\Survey 2025.dwg); the full path for a file found that nothing names (the .dst).

Size

.NET

@property
def Size(self) -> int

Gets the size of the file in bytes; 0 where it was not found.

SizeText

.NET

@property
def SizeText(self) -> str

Gets the size as the Files Table writes it: 412 KB, 2.4 MB, 96 B; empty where the file was not found.

Source

.NET

@property
def Source(self) -> str | None

Gets the full path of the file; null where it was not found.

UsedBy

.NET

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

Gets the names of the sheets and drawings that need the file, in ordinal order, letters of either case alike first.