MDAddLine

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > NeutralFormat >

MDAddLine

Description

Insert a line in the Master Drawing identified with the handler MDid

Syntax

call DBWShell("MDAddLine MDid x0 y0 x1 y1 width style RGBcolor")

Parameters

MDid

Master Drawing handler

x0

line starting point (in millimeters) on the x axe

y0

line starting point (in millimeters) on the y axe

x1

line ending point (in millimeters) on the x axe

y1

line ending point (in millimeters) on the y axe

width

line width (in pixels). to specify the width in millimeters add "mm" after the value

style

line style according to Microsoft standards:

0

Solid

1

Dash

2

Dot

3

Dash-Dot

4

Dash-Dot-Dot

5

Clear/Transparent

This parameter is effective for TIF format only

RGBcolor

color of the line defined as RGB