-
-
May 29, 2025 at 7:59 pm
Antonio Zamora
SubscriberHello,
I'm trying to perform a section plane using PyMAPDL but after looking into the documentation I could not find the '/TYPE' equivalent command (https://ansyshelp.ansys.com/public/account/secured?returnurl=////Views/Secured/corp/v251/en/ans_cmd/Hlp_C_TYPE_sl.html).
It seems that 'mapdl.type()' is the equivalent for the APDL 'TYPE' command (used to set the type element pointer).
I wonder if there is any alternative to PyMAPDL '/TYPE' command to make section planes or If I'm missing something in the documentation.
Thanks in advance.
Best regards,
Antonio.
-
May 29, 2025 at 8:14 pm
Antonio Zamora
SubscriberHi again,
I just have found the use of 'mapdl.run()' command to run undocumented APDL commands (https://mapdl.docs.pyansys.com/version/stable/api/_autosummary/ansys.mapdl.core.Mapdl.run.html#ansys.mapdl.core.Mapdl.run).
I mark the thread as answered and it can be closed.
Best regards,
Antonio.
-
June 2, 2025 at 8:56 am
Deepak
Ansys EmployeeHi Antonio,
Thanks for the update and for sharing your solution.
You're right — Using
mapdl.run()
is indeed the correct approach for executing unsupported or undocumented APDL commands like/TYPE
.Great to hear you got it working, and thanks for confirming the thread can be closed.
Best regards,
Deepak
-
- The topic ‘Section planes using PyMAPDL’ is closed to new replies.
-
3150
-
1013
-
951
-
858
-
797
© 2025 Copyright ANSYS, Inc. All rights reserved.