amin.khormaei Posted November 22, 2022 Share Posted November 22, 2022 (edited) How can I reference a python file from HDA, I don't want all of my code to be in the HDA itself. Edited November 30, 2022 by amin.khormaei Fixed Quote Link to comment Share on other sites More sharing options...
gemini Posted November 28, 2022 Share Posted November 28, 2022 Hi, I think a python module in the HDA code would solve the problem. G Quote Link to comment Share on other sites More sharing options...
amin.khormaei Posted November 30, 2022 Author Share Posted November 30, 2022 On 11/28/2022 at 6:02 PM, gemini said: Hi, I think a python module in the HDA code would solve the problem. G HDAModule works with embedded scripts but my code is in an external python file when I add the file the event handler change to custom script and the custom script does not work with hdaModule(). Quote Link to comment Share on other sites More sharing options...
amin.khormaei Posted November 30, 2022 Author Share Posted November 30, 2022 I solved that myself and found a better way than a custom script. The solution is in the image below. 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.