… when i specify start_directory.
is that as intended or a bug?
why can't both parameters co-exist?
hou.ui.selectFile() - default_value ignored
6916 5 0- whalerider
- Member
- 194 posts
- Joined:
- Offline
- niko3d
- Member
- 338 posts
- Joined: 9月 2006
- Offline
- graham
- Member
- 1908 posts
- Joined: 11月 2006
- Offline
You can get it to work if you make sure your directory ends with a /.
The following will work correctly
hou.ui.selectFile(“/tmp/”, default_value=“test.otl”)
however this will not
hou.ui.selectFile(“/tmp”, default_value=“test.otl”)
It is still a bug however.
The following will work correctly
hou.ui.selectFile(“/tmp/”, default_value=“test.otl”)
however this will not
hou.ui.selectFile(“/tmp”, default_value=“test.otl”)
It is still a bug however.
Graham Thompson, Technical Artist @ Rockstar Games
- niko3d
- Member
- 338 posts
- Joined: 9月 2006
- Offline
- graham
- Member
- 1908 posts
- Joined: 11月 2006
- Offline
- whalerider
- Member
- 194 posts
- Joined:
- Offline
-
- Quick Links