VS:BeginPoly3D: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:25, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
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
Example
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()
Version
Availability: from All Versions
See Also
VS Functions:
VS Functions:
[[VS:Add3DPt]]
| [[VS:EndPoly3D]]