PyAEDT RMxprt to create "user define slot" under standard motor #5136
-
hi there, I want to create "user define slot" of ASSM under standard motor of RMxprt by pyAEDT. And it does not work. Could you help to show how to use this "user define slot" option by pyAEDT please. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
Hi @ChunLai-CHEN, may I ask which AEDT and PyAEDT versions are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi @ChunLai-CHEN , could you please upgrade to latest version of PyAEDT and try again please? thanks! Also, what's "Segment1" for you? could you provide your script so I can have a better overview of your issue? |
Beta Was this translation helpful? Give feedback.
-
Hi @ChunLai-CHEN, Thanks for your detailed explanation. Hope this helps, Giulia |
Beta Was this translation helpful? Give feedback.
-
hi @gmalinve, Thanks for your share, really helpful. Try your method to find the expression of the "user defined slot", and get some improvement that "segment1" is fine. However it does not work for other segments. Python gives the error message of "Segment2" In AEDT GUI mode, there is option "Append Segment" to add next segment manually, however I do not familiar with the expression of children properties of "user define slot", and seems my code about add other segments does not work. It would be grateful you share some code example how to add other segments to make the user define slot complete. Best, CC |
Beta Was this translation helpful? Give feedback.
-
Hi @ChunLai-CHEN, you get this error because you are trying to access a segment that doesn't exist yet in your design (if I look at your first screenshot of AEDT GUI). |
Beta Was this translation helpful? Give feedback.
-
Hi @gmalinve,will PyAEDT could create segments in future version? |
Beta Was this translation helpful? Give feedback.
-
Hi @ChunLai-CHEN, PyAEDT is an open repository which means that everyone can contribute through issues and pull requests. Thanks, Giulia |
Beta Was this translation helpful? Give feedback.
Hi @ChunLai-CHEN,
PyAEDT is an open repository which means that everyone can contribute through issues and pull requests.
There's no team behind it but rather a community.
If this is a high priority matter please open an issue here: https://github.com/ansys/pyaedt/issues and someone will take care of it eventually.
Or if you feel comfortable you can implement it yourself and someone from the community will review it.
Thanks,
Regards,
Giulia