Hello guys,
I have two buttons and one commandLine.
What I want is, assign the input value of commandLine to a variable, and take a return value from function as the display of the commandLine’s output.
For the output part, i know MGlobal.displayInfo can achieve this. But how to deal the input part? Because the return value of the commandLine is the string name path, not the input value.
If I simply use a = cmds.commandLine(…), it will give a wrong result.
Much appreciate if anyone can give suggestions! Or if you have any other way to achieve my this, like textfield?