Skip to content

Node/Element selection commands returning selected IDs #3635

Closed
@moe-ad

Description

@moe-ad

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

Metadata

Metadata

Assignees

Labels

enhancementImprove any current implemented feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions