Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums AIS Japan 構造 全てのボディに内容の異なるコマンドを設定したい Reply To: 全てのボディに内容の異なるコマンドを設定したい

Ashish Khemka
Forum Moderator

Translated: - In ANSYS Workbench Mechanical, I want to insert a command into all bodies in the geometry. - I want to set the inserted command to "mat1 = matid". The number "1" is numbered sequentially by the number of bodies, such as 1, 2, 3, and so on. ・ Since there are many bodies, I want to automate it by scripting.Are. I thought about getting IDs for all bodies, but it didn't work, so I'd like to ask a question. Best regards.

[bingo_chatbox]