Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: node/element selection commands returning selected ids #3636

Merged
merged 9 commits into from
Jan 8, 2025
1 change: 1 addition & 0 deletions doc/changelog.d/3636.miscellaneous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat: node/element selection commands returning selected ids
2 changes: 2 additions & 0 deletions src/ansys/mapdl/core/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@
"LSEL",
"ASEL",
"VSEL",
"ESLN",
"NSLE",
]


Expand Down
4 changes: 4 additions & 0 deletions src/ansys/mapdl/core/mapdl_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,10 @@ def wrap_xsel_function_output(method):
return self.geometry.anum
elif name == "VSEL":
return self.geometry.vnum
elif name == "ESLN":
return self.mesh.enum
elif name == "NSLE":
return self.mesh.nnum
else:
return None

Expand Down
Loading