Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 977 Bytes

File metadata and controls

49 lines (41 loc) · 977 Bytes

ReverseWallSides

Description

Switch the left and right side of a wall by reversing the direction of the wall. This is an interface to the button with the same name on the Object Info palette.

PROCEDURE ReverseWallSides(theWall : HANDLE);
def vs.ReverseWallSides(theWall):
    return None

Parameters

Name Type Description
theWall HANDLE Handle to the wall to operate on.

Examples

VectorScript

PROCEDURE ReverseWallSidesExample;
VAR
center_pt, start_pt, end_pt :VECTOR;
h :HANDLE;
BEGIN
center_pt.x := 0;
center_pt.y := 0;
start_pt.x := 100;
start_pt.y := 0;
end_pt.x := 0;
end_pt.y := 100;
RoundWall(center_pt.x, center_pt.y, start_pt.x, start_pt.y, end_pt.x, end_pt.y);
h := LNewObj;
ReverseWallSides(h);
END;
RUN(ReverseWallSidesExample);

Python

Version

Availability: from VectorWorks10.0

Category