Code: Select all
si = Application
si.NewScene()
model = si.CreateModel()
obj = si.GetPrim("Null", "", model)
print type(obj)
# <type 'instance'>
obj = si.SetValue(obj.FullName+".Name", "null_renamed")
print type(obj)
# <type 'unicode'>
# The question is: how to rename object and get as an 'instance'?