almost the same code ,why left come out true ,right come out false?
import rhinoscriptsyntax as rs
object = rs.GetObject("Select a curve")
print object
if rs.IsCurve(object):
print "The object is a curve."
else:
print "The object is not a curve."
import rhinoscriptsyntax as rs
import scriptcontext
import Rhino.Geometry as rg
###########ID划分为点和曲线list#################
obj=ID
texts=[]
curves=[]
for obj in objs:
print obj
print rs.IsCurve(obj)
if rs.IsCurve(obj):
curves.append(obj)
elif rs.IsText(obj):
texts.append(obj)
print(texts)
print curves