What have you tried so far? You need a Read File component, set the path and then you have each line of text. Then you use the Text Split component and split by “,”. Now you have a list with all the coordinates.
Turn the coordinates into points and place a cube on it.
If we can’t see what you have tried, its kind of hard to know what part you are struggling with…
i’m going to try to do this in python, due to the regex component i put in. You can put in stardard Gh components that would do the Text Regex Split in the meanwhile.
I want to make a box/ cube on the point. The point has to be the centre of the cube.
Can somebody tell me which command in rhino to use? As when I use centre box, it makes it as the base plane and draws 4 cubes at the point. I want to one cube with the point being the centre.
import ghpythonlib.treehelpers as th
newList = []
for line in orgList:
vec = line.split(", ")
subList = []
newList.append(subList)
for text in vec:
num = text.split(": ")
n = int(num[1])
subList.append(n)
print subList
a = th.list_to_tree(newList, source=[])