diff --git a/src/ansys/aedt/core/modeler/cad/primitives_3d.py b/src/ansys/aedt/core/modeler/cad/primitives_3d.py index 66a6f369a42..9938acc152b 100644 --- a/src/ansys/aedt/core/modeler/cad/primitives_3d.py +++ b/src/ansys/aedt/core/modeler/cad/primitives_3d.py @@ -769,14 +769,16 @@ def create_rectangle(self, orientation, origin, sizes, name=None, material=None, width = self._arg_with_dim(sizes[0]) height = self._arg_with_dim(sizes[1]) - arg_1 = ["NAME:RectangleParameters" - "IsCovered:=", is_covered, - "XStart:=", x_start, - "YStart:=", y_start, - "ZStart:=", z_start, - "Width:=", width, - "Height:=", height, - "WhichAxis:=", axis] + arg_1 = [ + "NAME:RectangleParameters", + "IsCovered:=", is_covered, + "XStart:=", x_start, + "YStart:=", y_start, + "ZStart:=", z_start, + "Width:=", width, + "Height:=", height, + "WhichAxis:=", axis + ] arg_2 = self._default_object_attributes(name=name, material=material) new_object_name = self.oeditor.CreateRectangle(arg_1, arg_2) return self._create_object(new_object_name, **kwargs)