-
-
May 23, 2023 at 1:13 pm
Jake
SubscriberHello,Â
Â
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 pm
Erik Kostson
Ansys EmployeeHi
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 pm
Jake
SubscriberÂ
--
Â
Thanks.Â
Â
-
May 24, 2023 at 12:44 pm
Erik Kostson
Ansys 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
Top Contributors
-
3492
-
1057
-
1051
-
965
-
942
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.