Notifications
Clear all

[Closed] String to array

hi, how can i convert back this

"#($Box:Box0035 @ [41.961899,17.408600,0.000000], $Box:Box001 @ [-15.973100,-86.676300,0.000000], $Box:Box002 @ [-39.731098,32.678600,0.000000])"

to an object array?
using execute will print an error

3 Replies

execute β€œ#($Box:Box0035 @ [41.961899,17.408600,0.000000], $Box:Box001 @ [-15.973100,-86.676300,0.000000], $Box:Box002 @ [-39.731098,32.678600,0.000000])”

1 Reply
(@denist)
Joined: 10 months ago

Posts: 0

have you tried it before suggesting?

it’s not an executable string.

it will probably be more useful to collect object names, and find them later for example using getNodeByName method