Hello all,
I would like my macro to return a value (true or false, 0 or 1, whatever...) if some commands work well or not. With that kind of return I could adjust a parameter in a loop to make my error converge... I don't know if this is possible in polyworks...
Thanks.
Hi there,
There's a command: MACRO GET_ERROR_STATUS ( string ) , that: 'Gets the error status of the last executed statement ', mainly returns "Error" or "No Error", you can get the string and change it to a binary format.
Cheers!
Charlie.