Run Python file using User Command

Run Python file using User Command

yogesh_handeB5B7Y
Participant Participant
292 Views
2 Replies
Message 1 of 3

Run Python file using User Command

yogesh_handeB5B7Y
Participant
Participant

Hello FlexSim Support Team,

 

I want to run the python file using User Command, but it is showing the below error. I have attached a sample model herewith. 

 

exception: Code Binding Error: could not bind to function
Node: /Tools/UserCommands/command1/code
Binding string: /**external python: */ /**/"Testfile"/**/
/** \nfunction name:*/ /**/"cal_Value"/**/


Windows Error Code : 0

 

yogesh_handeB5B7Y_0-1751271209949.png

 

 

yogesh_handeB5B7Y_1-1751276618633.png

 

 

Thanks

 

0 Likes
293 Views
2 Replies
Replies (2)
Message 2 of 3

yogesh_handeB5B7Y
Participant
Participant

It's done!

0 Likes
Message 3 of 3

a_benbouzaiene22196
Community Visitor
Community Visitor

Hello, can I know what was the problem and how you fixed it?

0 Likes