Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 931 Bytes

File metadata and controls

53 lines (44 loc) · 931 Bytes

RectangleN

Description

Creates a new rectangle object with the specified bounds.

PROCEDURE RectangleN(
				orginX,orginY         : REAL;
				directionX,directionY : REAL;
				width                 : REAL;
				height                : REAL);
def vs.RectangleN(orgin, direction, width, height):
    return None

Parameters

Name Type Description
orgin REAL
direction REAL
width REAL
height REAL

Remarks

This procedure does not return a handle.

Examples

VectorScript

PROCEDURE Example;
BEGIN
RectangleN(0, 0, 1, 0, 1, 1);
END;
RUN(Example);

Python

origin = [0, 1]
direction = [10, 10]
width = 5
height = 2

vs.RectangleN ( origin[0], origin[1], direction[0], direction[1], width, height )

Version

Availability: from VectorWorks13.0

Category