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

On the MSTOLE the two fields with component names seem to require the names be enclosed in single quotes by MAPDL aaS. #3053

Open
4 tasks done
mikerife opened this issue May 1, 2024 · 0 comments

Comments

@mikerife
Copy link

mikerife commented May 1, 2024

🤓 Before submitting the issue

🔍 Description of the bug

The input file converter does not add the necessary single quotes to two fields in MSTOLE. For example from VM271 this MAPDL command:

MSTOLE,1,'COM152','COM116'

Is converted to:

mapdl.mstole(1, "COM152", "COM116")

Instead of this:

mapdl.mstole(1, " 'COM152' ", " 'COM116' ")

I added spaces between the " and ' just to make it easier to read.
mike

🕵️ Steps To Reproduce

The log will automatically be formatted as Python code! No need to type backticks.

💻 Which Operating System are you using?

Windows

🐍 Which Python version are you using?

3.10

💾 Which MAPDL version are you using?

2023 R2

📝 PyMAPDL Report

Show the Report!

# PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here

📝 Installed packages

Show the installed packages!

# PASTE HERE THE OUTPUT OF `python -m pip freeze` here

📝 Logger output file

Show the logger output file.

# PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant