Hi
Hope everyone is doing well.
Running Python script in Rhino 7.
I can’t get import to accept blanks as part of the file name. No matter what I do it uses first blank as
an enter and chops the the name off after the “~1”.
I’ve seen other examples where chr(34) was used but it was for vb.
print “xxxxxxxx”
fname = “~1 10 3.35 x 4.55.stl”
command = “-_import " + “’” + rs.WorkingFolder() + “\” + “stones” + ‘\’ + fname + “’” + " -_enter”
print "My current directory is : " + command
rs.Command(command)