Skip to content

Commit

Permalink
DOCS: Correct naming convention create_rectangle documentation (#5358)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvela018 authored Oct 29, 2024
2 parents b3fd3cb + 005fe6b commit 6462a41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/aedt/core/modeler/cad/primitives_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def create_rectangle(self, origin, sizes, is_covered=True, name=None, material=N
--------
>>> rect1 = aedtapp.modeler.create_rectangle([0, -2, -2],[3, 4])
>>> rect2 = aedtapp.modeler.create_rectangle(origin=[0, -2, -2],sizes=[3, 4],name="MyCircle",material="Copper")
>>> rect2 = aedtapp.modeler.create_rectangle(origin=[0, -2, -2],sizes=[3, 4],
... name="MyRectangle",material="Copper")
"""
# TODO: Primitives in Maxwell 2D must have Z=0, otherwise the transparency cannot be changed. (issue 4071)
Expand Down

0 comments on commit 6462a41

Please sign in to comment.