Hi @Alain,
i’m not sure if this could be called a bug but rs.OpenFileName
seems to allow me to select an *.url file instead of an *.svg file in below example code:
import rhinoscriptsyntax as rs
file = rs.OpenFileName("Open", "SVG Files (*.svg)|*.svg||")
print file
Could this be improved so it does only show the files having the extensions defined in the filter attribute ? Or is this maybe on purpose as the url could point to an svg file ?
thanks,
c.
2 posts - 2 participants