HFSS variable assignment! #3671
-
Hi, Any suggestions will be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
Samuelopez-ansys
Oct 6, 2023
Replies: 1 comment
-
Hi @Abhi-SimuTech , Please next time provide the code, instead of a screenshot, because it takes time to write the code. About the issue, this is a python escape character problem, you need to add the explicit quotes with the backslash (). m1[key] = '["' + value + '"]' Then the final code is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Samuelopez-ansys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Abhi-SimuTech ,
Please next time provide the code, instead of a screenshot, because it takes time to write the code.
About the issue, this is a python escape character problem, you need to add the explicit quotes with the backslash ().
m1[key] = '["' + value + '"]'
Then the final code is: