I need to get a folder path by showing up a UI widget. While there is a UIWidget named fileBrowser that can be used to get the user to select a file, I couldnt find one that returns only folder name. and the user doesnt have to select a file… does anyone know???
give the parameter a control type siControlFIlePath and then a SetAttribute(siUIOpenFile, false).
all the control type is all listed in the docs here http://softimage.wiki.avid.com/sdkdocs/siPPGControlType.htm#siControlFilePath
and the attributes for each control type is suggested there too, but here is the link for all ItemAttributes you can assign to a Parameter object: http://softimage.wiki.avid.com/sdkdocs/siPPGItemAttribute.htm#siUIOpenFile
Get used to read these things in the SDK documentation, is full of examples and things are all there.
Use the pluggin manager to connect to the SDK examples workgroup, they have lots of examples there too.
You can also use XSIUIToolkit’s “PickFolder” method to initiate a folder picking session
hey… thanks for the help guys
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.