Hi @dale I see that rs.IsLinetype() returns true on all inputs. Can you please check it out?
Even the example for the command returns “The linetype exists” on all inputs.
import rhinoscriptsyntax as rs
name = rs.GetString("Linetype name")
if rs.IsLinetype(name): print "The linetype exists."
else: print "The linetype does not exist"
Notice that it returns Continuous if the linetype is not found… So it will never return something like False. Guess that particular function needs to be fixed.