Add the ArrayModifier node to your project, then add nodes as children. All of the children will be repeated according to the modifier's settings. The plugin consists of 3 settings: Repeat Levels: ...
self.ary_num=cmds.intSliderGrp(l='Number',f=1,fmx=99999999,cc=self.UpdateArray,dc=self.UpdateArray) self.ofst_const=cmds.floatFieldGrp(l="Constant Offset",nf=3,s=0.01 ...