On 31/03/2017 at 02:37, xxxxxxxx wrote:
Hi All!
I need to find object(s) that are in the scene by ID instead on the name. I know you can do something like this:
ob = doc.SearchObject('ObjectName')
if ob.GetType() == 1035165:
print "ID is a match "
But is it possible to do a direct search to the ID of an object. The reason is that people can change the name of an object but not the ID.
Thanks!:slightly_smiling_face: