java.lang.String[] #202
Replies: 3 comments 1 reply
-
Have you ever tried from one of them?:
|
Beta Was this translation helpful? Give feedback.
-
Dear All, Appologies, "cavity_x_coords.toString() returns '[Ljava.lang.String;@56303475'" in my first message should be "x.toString() returns '[Ljava.lang.String;@56303475'". |
Beta Was this translation helpful? Give feedback.
-
Dear All, It turns out, it was error in my java command rather than issue with MPh-py. Instead of running model.geom("geom1").feature(names[0]).getStringArray("x") I should have been running model.geom("geom1").feature("pol1").getStringMatrix("table"). thank you |
Beta Was this translation helpful? Give feedback.
-
Dear All,
This line in my code returns the object of type <java class 'java.lang.String[]'>
x = model.geom("geom1").feature(names[0]).getStringArray("x")
Is there any way of converting it to python list or string?
cavity_x_coords.toString() returns '[Ljava.lang.String;@56303475' which i cannot make sense of.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions