05-08-2015 07:17 AM
Hi. How could I convert 'Rectangle' into String so as to be able to write into a spreadsheet?
Solved! Go to Solution.
05-08-2015 07:52 AM
Care to explain? What does the data look like for the Rectangle? What would you like to see in your spreadsheet? Please provide an example showing your input data and what you expect as an output.
05-09-2015 12:47 PM
How about opening a string constant and typing "Rectangle" inside it? Is this what you mean? Otherwise, I don't understand the question ...
BS
05-09-2015 01:45 PM - edited 05-09-2015 01:47 PM
The word 'Rectangle' is already a string. No conversion needed.
"Spreadsheet" implies multiple values with specially defined row and column delimiters. You only have one string value, so what is the point of saving it as a spreadsheet?
Do you have a list of numeric edge coordinates that you want to save as a spreadsheet?
Do you have a 2D array representing a bitmap image of a rectagle?
Do you want to add string column headers to an existing spreadsheet?
Please clarify your question.
05-11-2015 08:27 AM
Hi All. A noob here.. The Rectangle is a cluster as (I understood it to be). Unbundled it by name (Left, Right, Top, Bottom, Rotation), then converted to fractional string and built array and wrote it into spreadsheet.
Thanks.
05-11-2015 10:09 AM
If all elements of the cluster are of the same datatype, all you would need to do is use "cluster to array" and "write to spreadsheet file".
Keep it simple! 😄