Message 1 of 5

Not applicable
01-02-2018
12:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to print the value of intField given by user in maya using python.
code
import maya.cmds as cmds
def fun(number):
print(number)
cmds.window()
cmds.columnLayout()
num = cmds.intField(changeCommand = 'fun()')
cmds.showWindow()
User will enter value in intField and i want to print that value
Solved! Go to Solution.