The workflow beneath converts a LandXML to a directshape in Revit. I guess you can further develop this to solids and whatnot, but unnecessary in my context.
Notice the python script which uses regex in python to find all the names of the surfaces. Somehow this can also be done with the Clockwork regex nodes, but I'm not sure of the input syntax to those. Please notify me if you get it to work with the Lunchbox XML nodes or with Clockworks regex nodes! :)
And the result:
And here you can see the difference. Direct Shape on the left, Topography generated with Site Designer on the right. As you can see the result from site designer is unusable. I'm not familiar with the causes, but Revit topo tools are really bad when points have the same XY value in different heights, so I'm guessing it has something to do with that fact.
I haven't tested this 100% through and through, but I'll give you the link for the script (0.9.0) and let you take it for a spin. Please feel free to comment and maybe we can make the script better together! :)
Hi! Awesome script, I´ve been trying it with a file this days, but I keep getting out of range indexes. Points from the xml seem to be coming through alright, but i can´t figure why indexes might be off. Are there different landxml formats that maybe could affect the indexes? Here is my file just in case https://www.dropbox.com/s/f92mt5vw5jrjhsn/FloresDise%C3%B1o13-04-16.xml?dl=0SvarSlett
Hi Rodrigo and the author of the script,SvarSlett
I have the same issue as you, Rodrigo. Have you found the way to resolve it?
THANK YOU FOR THE INFORMATIONSvarSlett
PLEASE VISIT US
autocad drafting services