Try:
Line Loop(newll) = {1:N} ;
If the increment is different from 1, e.g. 2
Line Loop(newll) = {1:N:2} ;
Regards,
Ruth
On 28 Jan 2013, at 23:35, Orxan Shibliyev <[email protected]> wrote:
> I want to create a "Line Loop" with an ordered list of lines from 1 to N
> where N is an integer. I know that it is not possible to do something like
> "Line Loop (0) = {LineList{1:N}}". So how can I do something like: "Line Loop
> (0) = {1,2,3,...,N};"?
>
>
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh
—
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering and Computer Science
http://ace.montefiore.ulg.ac.be/
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh