Skip to content

Specify the name of the heat source when assign openings #5059

Closed Answered by Samuelopez-ansys
aknsj asked this question in Q&A
Discussion options

You must be logged in to vote

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"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aknsj
Comment options

Answer selected by Samuelopez-ansys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants