loading
 
SHAPES array
Jeremy from United States  [12 posts]
8 year
When using the Shape matching module, is it possible to access the variables stored in the array with modules other than the VBScript module? For example, could you retrieve a value from the array to use with the IF statement? If so, could someone give a quick example of how to get the min and max shape coordinates out of the array? Thanks.
Steven Gentner from United States  [1446 posts] 8 year
Jeremy,

You can access individual elements using

[SHAPE_SIZE:2]

where 2 is the third element in the SHAPE_SIZE array.

If you download the latest version you can also use

[maxArray(SHAPE_SIZE)]

which would return the maximum value of the SHAPE_SIZE array. To read more about [] expressions see

http://www.roborealm.com/help/Expressions.php

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index