-
-
May 23, 2023 at 1:13 pmJakeSubscriber
Hello,Â
Â
Using mechanical scripting in python, how can I access the nodes associated with a named selection?Â
For instance, if I had a named selection called ns that's geometry is 2 edges how do I get mechanical scripting to access the nodes and the associated data on those edges?Â
Thanks. -
May 23, 2023 at 2:05 pmErik KostsonAnsys Employee
Hi
Below is a link to a sample script that does that:
https://discuss.ansys.com/discussion/2930/how-to-extract-ids-of-all-the-nodes-on-a-face-surface-using-python-scripting
All the best
ErikÂ
Â
Â
-
May 24, 2023 at 12:29 pmJakeSubscriber
Â
--
Â
Thanks.Â
Â
-
May 24, 2023 at 12:44 pmErik KostsonAnsys Employee
Â
Erik
Â
-
Viewing 3 reply threads
- The topic ‘Mechanical Scripting – Accessing nodes associated with named selections’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Frictional No separation contact
- Elastic limit load, Elastic-plastic limit load
Top Contributors
-
1301
-
591
-
544
-
524
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.