Specify the name of the heat source when assign openings #5059
-
Beta Was this translation helpful? Give feedback.
Answered by
Samuelopez-ansys
Aug 21, 2024
Replies: 1 comment 1 reply
-
Hi @aknsj, Almost all PyAEDT methods return an object. So in this case you can save the object in a variable: opening = ipk.assign_openings(air_faces=region.faces) And you can get the name and even set the name: name = opening.name opening.name = "samuel" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Samuelopez-ansys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aknsj,
Almost all PyAEDT methods return an object. So in this case you can save the object in a variable:
opening = ipk.assign_openings(air_faces=region.faces)
And you can get the name and even set the name:
name = opening.name
opening.name = "samuel"