Creating Line by two points in Python

Qualify the class or don’t import the RevitAPI (Line class is in both ProtoGeometry and RevitAPI libraries which leads to ambiguous references…and exceptions like the one you are seeing).

8 Likes