Houly Posted May 3, 2022 Share Posted May 3, 2022 This may be a unnecessary question. The <kwargs> global dictionary variable does not working in Python Code(python) parameter, which is the default parameter of the Python SOP. # error code Error Python error: Traceback (most recent call last): File "<stdin>", line 9, in <module> NameError: name 'kwargs' is not defined But interestingly, if I create a additional string parameter and call <kwargs>, it returns a valid value. (The node is accessible via hou.pwd(), but it's just a curiosity that has nothing to do with actual use.) Why doesn't <kwargs> work normally in Python Code(python) parameter? I wonder what the difference is between the two. Thanks in advance for the reply! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.