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
@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
@property
def IsFound(self) -> bool
Gets whether the file was found.
IsIncluded
@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
@property
def Kind(self) -> CadTransmittalFileKind
Gets why the file is sent.
Name
@property
def Name(self) -> str
Gets the name of the file, with its extension.
Note
@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
@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
@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
@property
def Size(self) -> int
Gets the size of the file in bytes; 0 where it was not found.
SizeText
@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
@property
def Source(self) -> str | None
Gets the full path of the file; null where it was not found.
UsedBy
@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.