Replies: 1 comment
-
To have full flexibility, you can use pyVista. An example to add annotation to the plot: (sorry if it is a screenshot, the example will be public soon) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I used pyaedt to export model pictures and temperature pictures during post-processing, which can be used in my simulation reports, which is very helpful.
![image](https://private-user-images.githubusercontent.com/163245306/363115845-57da623c-3c78-4670-a2de-6e6883f35509.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjExNzMsIm5iZiI6MTczOTIyMDg3MywicGF0aCI6Ii8xNjMyNDUzMDYvMzYzMTE1ODQ1LTU3ZGE2MjNjLTNjNzgtNDY3MC1hMmRlLTZlNjg4M2YzNTUwOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQyMDU0MzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OWVlY2ZiZWI1MWIwMTQ1YWQzODJjZWUwMTFjOTBhODE0NmZhY2E4NWI4ZDc3MDliNGMyZWI4YmNkODhkZTQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.oLxS9Fhuz8f-kaCgIbrW3W94NMDtt96oYv50ae9_CRo)
![image](https://private-user-images.githubusercontent.com/163245306/363115879-e1b664b1-ea36-494d-a3fb-4db571beda1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1Y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BbXotRGF0ZT0yMDI1MDIxMFQyMDU0MzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYWE1MDJhY2U0MTI5ODkzNTY1ZjEyMGVlMTJkY2Q4MTRhY2ExYjg5MjM5YzIzM2I2MGRkOTNmN2I2N2ZkYzYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.zFPxAVtse9t0z_ay1hzAyeQn_7OltUede1tlKM7dq_g)
![image](https://private-user-images.githubusercontent.com/163245306/363116103-a343e333-832f-477e-ac96-c99bba23de78.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjExNzMsIm5iZiI6MTczOTIyMDg3MywicGF0aCI6Ii8xNjMyNDUzMDYvMzYzMTE2MTAzLWEzNDNlMzMzLTgzMmYtNDc3ZS1hYzk2LWM5OWJiYTIzZGU3OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQyMDU0MzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NmJmMjYwZmM4Y2MxYzc4ZWE5OWRkMTk4MjQ2Y2VkYTFiOTg2Yzk5YjBiOWZiYTRmNzM0NzRkN2IyZjEzZjI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.t_7AhzfwQkk0394eDGOag95zvnYcIzhuIfk2AFnFEPY)
But I recently ran into a problem, and that problem is that I want to show in the report where in the model the solid or heat source is located.
When operating the software manually, I usually do as follow to achieve a localization map. In the model tree or heat source tree, I left click with the mouse on the solid or heat source I want to select. Then in the AEDT software interface, the selected solid turns dark purple and the selected heat source turns blue mesh. I then manually take a screenshot of the displayed image as shown below.
Since I need to inform the client of the location of solids and heat sources in my simulation reports, I'd be happy to know if I can export a picture of the location using the pyaedt code.Or there are other ways to show the localization of solids and heat sources, such as labeling.
The version of Pyaedt I am using is 0.9.10. looking forward to your reply, thanks!
Beta Was this translation helpful? Give feedback.
All reactions