Error message below is not very clear; expected Wall, got Wall
–
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last): File “”, line 11, in
TypeError: expected Wall, got Wall –
Error message below is not very clear; expected Wall, got Wall
–
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last): File “”, line 11, in
TypeError: expected Wall, got Wall –
You’ll need to unwrap the Dynamo element first. You’ll find more info on this here:
Thanks Venkov!
I didn’t even think of it, and the error message wasn’t very helpful (Expected Wall, got Wall).
I am still learning the quirks of the APIs But I ended up using it in a wall created in the code and it worked as expected
wall = Wall.Create(doc, line, ElementId(wall_t.Id), ElementId(level.Id), height, base_height_off, False, is_structural)
if not join_walls:
WallUtils.DisallowWallJoinAtEnd(wall, 0)
WallUtils.DisallowWallJoinAtEnd(wall, 1)
if flip_walls:
wall.Flip()