loading

Add to this Thread


Steven Gentner from United States 5 year
You are correct in your usage of the Set_Variable module. That would be the way to "rename" a variable to another name such that the value is not overwritten. You must be sure, however, to use the correct expression in the Set_Variable module to do this. For example, in the Sample_Color module the variable COLOR_SAMPLE_R is create. In Set_Variable you would use

new_r [COLOR_SAMPLE_R]

but NOT select the IsArray checkbox ... that's only for when you specify a list of values in a comma separated list that you want converted into an array.

See attached example.

STeven.


Pick Avatar
* Question/Comment - Only <b>, <i>, <u> tags are allowed. All others will be escaped.
Use the tags [image1], [image2], etc. to place the images within your question/comment.
Upload Images (.jpg, .png, .gif) < 300K, robofiles (.robo) or Zip files (.zip) < 300K.

If you have any questions/issues about RoboRealm or image processing this is your chance to ask a question. Your question and any responses will be posted to the forum section of the website for others to read and learn from.

Note that any submission will be considered property of RoboRealm. If you do not wish your images to be displayed as part of the RoboRealm site please do not submit those images. Any submission may be removed from the website at the discretion of RoboRealm personnel.