/
new_from_to

GiD - The personal pre and post processor

new_from_to

set obj [objarray new_from_to <type> <from> <to>]

Allocate an array of type $type filled with integer-like values increasing from $from to $to

<type>: chararray shortarray intarray longarray longlongarray floatarray doublearray

<from> arbitrary integer value

<to> arbitrary integer value greater or equal than <from>

e.g.

set obj [objarray new_from_to intarray -3 2] -> -3 -2 -1 0 1 2

 

COPYRIGHT © 2022 · GID · CIMNE