GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

new_from_to: allocate an array of type $type filled with integer-like values increasing from $from to $to

set obj [objarray new_from_to <type> <from> <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

  • No labels