diff --git a/src/ifcopenshell-python/ifcopenshell/api/grid/create_axis_curve.py b/src/ifcopenshell-python/ifcopenshell/api/grid/create_axis_curve.py index 583ac6c36a..a09e7b2bd2 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/grid/create_axis_curve.py +++ b/src/ifcopenshell-python/ifcopenshell/api/grid/create_axis_curve.py @@ -77,8 +77,8 @@ class Usecase: ] self.settings["grid_axis"].AxisCurve = self.file.createIfcPolyline( [ - self.create_cartesian_point(points[0][0], points[0][1], points[0][2]), - self.create_cartesian_point(points[1][0], points[1][1], points[1][2]), + self.create_cartesian_point(points[0][0], points[0][1]), + self.create_cartesian_point(points[1][0], points[1][1]), ] )