Kris00
08-01-2008, 06:41 PM
Hey Guys, Im trying to have user search for a folder, select it, then the callback feeds that
folder path into the textField all in python
Im kinda new to python, can anyone tell me why it isnt working?
Code:
def filePathChangeDirM(directoryPathInput):
cmds.textField("dirTextInfo", edit = True, text = directoryPathInput)
def filePathCallback():
cmds.fileBrowserDialog( m = 4, fc = filePathChangeDirM, ft = "directory", an = "Location for Directory")
folder path into the textField all in python
Im kinda new to python, can anyone tell me why it isnt working?
Code:
def filePathChangeDirM(directoryPathInput):
cmds.textField("dirTextInfo", edit = True, text = directoryPathInput)
def filePathCallback():
cmds.fileBrowserDialog( m = 4, fc = filePathChangeDirM, ft = "directory", an = "Location for Directory")
