-
-
November 15, 2023 at 1:12 pm
M Nouman
SubscriberHello everyone, I want to develop a script in mechanical where the line bodies of about 110 in number will be imported from geometry. These bodies have to sort based on their location to respective named selection. then I have to apply line pressure on these named selection.
I have created edge based named selections but dont know how to sort the edges based on location and application of load. Kindly guide
-
November 15, 2023 at 1:23 pm
Erik Kostson
Ansys EmployeeHi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
So in each named selection it will include one or multiple beams depending on what (the position say centroid)?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
November 15, 2023 at 1:23 pm
Erik Kostson
Ansys EmployeeHi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
November 15, 2023 at 1:23 pm
Erik Kostson
Ansys EmployeeHi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
- The topic ‘Scripting in ANSYS Mechanical’ is closed to new replies.
-
3034
-
971
-
858
-
851
-
792
© 2025 Copyright ANSYS, Inc. All rights reserved.