VS:ReverseWallSides
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
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
theWall HANDLE Handle to the wall to operate on.
Example
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