To import the .obj file of a mesh in my Python script use:
# Select .obj file to import.
filtr = 'OBJ Files (*.obj)|*.obj||'
strPath = rs.OpenFileName('OBJ file to import', filtr)
with the OpenFileName popup window typically looking like this:
Is there a way to suppress the File Folder entry. This does not even contain .obj files.
In the end, the Windows
GetOpenFileName C++ SDK function is used.
In C#, you can use the
OpenFileDialog wrapper class.
I don’t know if there is a way to suppress folders…
Thanks for your detailed response. I may just learn to live with the folders showing up. I think its considered a feature.