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

Node/Element selection commands returning selected IDs #3635

Closed
moe-ad opened this issue Jan 7, 2025 · 0 comments · Fixed by #3636
Closed

Node/Element selection commands returning selected IDs #3635

moe-ad opened this issue Jan 7, 2025 · 0 comments · Fixed by #3636
Assignees
Labels
enhancement Improve any current implemented feature

Comments

@moe-ad
Copy link
Contributor

moe-ad commented Jan 7, 2025

Description of the feature

Currently, commands such as mapdl.nsel() or mapdl.esel() will return a numpy array of selected objects' IDs. This is extremely useful when scripting since the selected IDs can be saved in a variable to be accessed later.
Image

Similar commands like mapdl.esln() or mapdl.nsle() do not have this behavior. Instead they return some selection status string from the running mapdl instance.
Image

Steps for implementing the feature

I bet the logic is already in place in some other section of the codebase, so the ideal way forward will be to figure out how to extend this logic to the new functions.
See #3636

Useful links and references

No response

@moe-ad moe-ad added the enhancement Improve any current implemented feature label Jan 7, 2025
@moe-ad moe-ad self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve any current implemented feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant