Skip to content

How to change offset of the region using pyaedt #4377

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

You must be logged in to vote

Hi @aknsj ,

Regions are going to be refactored, right @lorenzovecchietti ? The PR is here: https://github.com/ansys/pyaedt/pulls

In the meanwhile, you can create the region:

region = app.modeler.create_region()

And change the X padding data like:

region_props = region.history().props
region_props["+X Padding Data"] = 100

Replies: 1 comment 1 reply

Comment options

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

Answer selected by aknsj
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