mjmiddle
Ansys Employee

I ran the script in 2023 R1 exactly as I printed it, and it worked. If it gives an error that "Command" is not defined, that would indicate the first line to import it was not run. If the first line was run and the Command object was not found, the first line would produce an error.