pymapdl icon indicating copy to clipboard operation
pymapdl copied to clipboard

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

Open mikerife opened this issue 1 year ago • 1 comments

🤓 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.

mikerife avatar May 01 '24 23:05 mikerife

Hello @germa89! This issue has been open for over a year and has had no updates in the past 8 months. If it is still relevant, please provide an update. Otherwise, consider closing it to help keep the issue tracker clean.

If this issue needs to remain open, please comment below with @pyansys-automation never close issue to prevent it from being automatically closed.

If you want this repository to be excluded from this automated maintenance process, please let us know by filling in the opt-out request form.

pyansys-automation avatar Sep 08 '25 15:09 pyansys-automation