Table of Contents

CadDrawingReference

from OpenCAD2D.SheetSets import CadDrawingReference

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

What a sheet set data file keeps of an object inside a drawing: the drawing's file (in the four forms of CadFileReference), the object's name and its handle. A sheet names its layout this way, the sheet creation template names its layout, the label block names its block and a sheet view names its model space view.

Constructors

__init__

.NET

def __init__(self, file: CadFileReference, name: str, handle: str, ownerHandle: str) -> None

Makes a reference to an object of a drawing.

Properties and fields

File

.NET

@property
def File(self) -> CadFileReference

Gets the drawing's file.

Handle

.NET

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

Gets the object's handle in hexadecimal (written in upper case), or null.

Name

.NET

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

Gets the object's name, or null.

OwnerHandle

.NET

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

Gets the handle of the object's owner, or null.