From 89683553959f93ec29d5c92ce4af4ee9086f5c4d Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 3 Oct 2013 12:07:40 -0300 Subject: [PATCH] Draft: better docstring in array function --- src/Mod/Draft/Draft.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index fd9576dbb..8aeec4385 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1044,7 +1044,10 @@ def array(objectslist,arg1,arg2,arg3,arg4=None): with, in case of rectangular array, xnum of iterations in the x direction at xvector distance between iterations, and same for y direction with yvector and ynum. In case of polar array, center is a vector, totalangle is the angle - to cover (in degrees) and totalnum is the number of objects, including the original.''' + to cover (in degrees) and totalnum is the number of objects, including the original. + + This function creates an array of independent objects. Use makeArray() to create a + parametric array object.''' def rectArray(objectslist,xvector,yvector,xnum,ynum): typecheck([(xvector,Vector), (yvector,Vector), (xnum,int), (ynum,int)], "rectArray")