



""" Open a file dialog to query a directory pathĭirectory_path = cmds.fileDialog2(fm=2, okc="Set") If you have any ressources it would be amazing! Here is my code first. But I'm struggling on where to begin with and how can I proceed correctly. Now what I want to do is to be able to plug the texture maps from the textures on the sourceimages folder and import them alongside the nodes, it's basically an Auto Shader script. I've created a script for Maya where the user can assign a shader (aiStandardSurface, etc.) to his selected object, once the user clicks the button a shader is created with all the nodes connected that he needs (ex: file nodes connected directly). I'm a bit new to Maya Python but I'll try to explain my question as detailed as possible.
