Table of Contents

CadRemoteLinetype

from OpenCAD2D.Remote import CadRemoteLinetype

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

A linetype of a drawing of a running OpenCAD2D, as CadRemoteDocument.GetLinetypes lists it: its name, description, pattern length and dash lengths in millimetres.

Constructors

__init__

def __init__(self) -> None

Properties and fields

Dashes

.NET

@property
def Dashes(self) -> System.Collections.Generic.IReadOnlyList[float]

Gets the dash lengths of one repeat: a positive number is a dash, a negative a gap, 0 a dot.

Description

.NET

@property
def Description(self) -> str

Gets the text description of the pattern, such as Dash dot __ . __ . __.

Name

.NET

@property
def Name(self) -> str

Gets the name of the linetype.

PatternLength

.NET

@property
def PatternLength(self) -> float

Gets the total length of one repeat of the pattern in millimetres; 0 for a continuous line.