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

Allow None for XSEL commands #3660

Open
germa89 opened this issue Jan 14, 2025 · 0 comments
Open

Allow None for XSEL commands #3660

germa89 opened this issue Jan 14, 2025 · 0 comments
Labels
enhancement Improve any current implemented feature

Comments

@germa89
Copy link
Collaborator

germa89 commented Jan 14, 2025

Description of the feature

It will be nice to allow Pythonic None as a valid value for the Type_ argument, so we can do:

mapdl.nsel(None) # equal to mapdl.nsel("NONE")

Steps for implementing the feature

Internally it is just:

if type_ is None:
    type_ = "NONE"

This can be added to a wrapped function.

Useful links and references

NA

@germa89 germa89 added the enhancement Improve any current implemented feature label Jan 14, 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

No branches or pull requests

1 participant