senior2020design
Subscriber

@Aniket


My extension button in Mechanical is scripted with XML calling a python function via onclick button. In the Python file exists a jscript interaction like the one in the link you shared with me. When I comment out the jscript interaction in the python file the button in Mechanical executes and everything runs perfectly. But when I do not comment out the jscript interaction in the python file, all I can do is click my button in Mechanical and nothing happens. 


Please let me know what could possibly be happening? Do I need to import anything of some sort?


Thank you, DL