change_property() #4781
-
For the example "Maxwell 2D: PM synchronous motor transient analysis" link How do you use change_property() to change the Stator: name, colour, material etc. I couldn't find any examples in the pyaedt documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, not sure if you need the change_property() function. you can change the assignment by using the methods given in the example |
Beta Was this translation helpful? Give feedback.
Hello, not sure if you need the change_property() function. you can change the assignment by using the methods given in the example
However if you use change_property it's best to use the record macro feature in the GUI to get the tab names and arguments that you need. However I would only use that method if there is no simpler way of changing properties by direct assignment through the API