Hello,
I am trying to create a model i can export in xml using Koala.
As an example, the model i want to make is a column with cross section HEB100 and a beam with cross section HEB300.
The idea I had was to first define the properties of the column and beam seperatly using the ‘Beams’ block.
i then merge both outputs and use that in the ‘create xml’ block. But this doesn’t seem to work.
I’m susspecting that it has something to do with the ‘merge’ block, but i’m not sure how I otherwise would combine the outputs.
Does anybody know if/how I could make this work?
EDIT: I forgot to add the right coordinates in GH.
Multiple_CS_Koala.gh (18.9 KB)
For everyone who is having the samen issue in the future, the problem/solution lied in the prefixes. If you combine the data of both ‘Beams’ blocks, you get multiple points with the samen prefix, but a different coordinate. When making an xml-file, Koala just picks the last coordinates in the list.
To solve this I gave both beams and points a different prefix. With ‘remove duplicate nodes’ on the main Koala block turned on, it just removes the nodes that have the same coordinate.
In scia this wil give me the following points and beams:
A good thing to note is that this does mean that the prefixes wil be a bit scrambled. As you can see in the picture above, the nodes and beams all have different prefixes in scia. For me this wasn’t an issue, but its good to know.