i am not able to pass the default extension to
rs.OpenFileName(). How is this done properly ?
import rhinoscriptsyntax as rs nfilter = "Text (*.txt)|*.txt|STI files (*.sti)|*.sti||" filename = rs.OpenFileName("File", nfilter, None, None, extension="sti")
it always uses the txt extension, i´ve tried *.sti, .sti, sti or the description, filter strings and both.