Skip to content

Commit

Permalink
fix: missing arguments in secdata (#3295)
Browse files Browse the repository at this point in the history
* fix: missing arguments in secdata

* fix: docstring

* chore: adding changelog file 3295.fixed.md

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
germa89 and pyansys-ci-bot authored Jul 18, 2024
1 parent 81d8afd commit 08b6f36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/changelog.d/3295.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: missing arguments in secdata
6 changes: 4 additions & 2 deletions src/ansys/mapdl/core/_commands/preproc/sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,8 @@ def secdata(
val10="",
val11="",
val12="",
val13="",
val14="",
**kwargs,
):
"""Describes the geometry of a section.
Expand All @@ -630,7 +632,7 @@ def secdata(
Parameters
----------
val1, val2, val3, . . . , val12
val1, val2, val3, . . . , val14
Values, such as thickness or the length of a side or the numbers of
cells along the width, that describe the geometry of a section. The
terms VAL1, VAL2, etc. are specialized for each type of cross-
Expand Down Expand Up @@ -681,7 +683,7 @@ def secdata(
Type: BEAM, Subtype: HATS
"""
command = f"SECDATA,{val1},{val2},{val3},{val4},{val5},{val6},{val7},{val8},{val9},{val10},{val11},{val12}"
command = f"SECDATA,{val1},{val2},{val3},{val4},{val5},{val6},{val7},{val8},{val9},{val10},{val11},{val12},{val13},{val14}"
return self.run(command, **kwargs)

def secjoint(
Expand Down

0 comments on commit 08b6f36

Please sign in to comment.