Creating walls from linked AutoCAD file

This is probably and old topic sorry. I’m completely new to Dynamo so yeah, I copied some nodes without have one iota what it supposed to do or what value it needs

I’ve tried a couple of scripts I found on this site and I can’t get them to work. I’m on Revit 2022.

Walls2 I got 2 errors, for
List.GetitemAtIndes = Warning: List.GetItemAtIndex operation failed.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Wall.ByCurveAndLevels=Warning: Wall.ByCurveAndLevels operation failed.
Value cannot be null.
Parameter name: curve.

Walls3.dyn just died with message “Can’t make wall”, it did draw a bunch of crazy lines on revit.


@David125

check out this topic… it should work for line based elements like walls

While the OP is over 4 years old, I would never use autocad files as a basis for creating Revit elements. You’ll end up with so many “slightly off angle” warnings for a start.

1 Like