Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 883 Bytes

File metadata and controls

48 lines (41 loc) · 883 Bytes

BeginPoly3D

Description

Procedure BeginPoly3D creates a 3D polygon in the VectorWorks document. This procedure is used with Add3DPt and EndPoly3D to create 3D polygons. Any calls to the Add3DPt procedure after BeginPoly3D will be included in the 3D polygon.

PROCEDURE BeginPoly3D;
def vs.BeginPoly3D():
    return None

Examples

VectorScript

BeginPoly3D;
Add3DPt(0,0,0);
Add3DPt(2,0,0);
Add3DPt(2,2,0);
Add3DPt(1,3,0);
Add3DPt(0,2,0);
Add3DPt(0,0,0);
EndPoly3D;

Python

vs.BeginPoly3D()
vs.Add3DPt(0,0,0)
vs.Add3DPt(2,0,0)
vs.Add3DPt(2,2,0)
vs.Add3DPt(1,3,0)
vs.Add3DPt(0,2,0)
vs.Add3DPt(0,0,0)
vs.EndPoly3D()

See Also

VS Functions: Add3DPt | EndPoly3D

Version

Availability: from All Versions

Category