Description

Get Object UUID (useful for debugging).

Warning

The UUID can also be found when selecting an object and tryping the What command.

Author and license

Script by MLAV.LAND, licensed under the GNU GPL 3 License.

Code

import rhinoscriptsyntax as rs
 
obj_id = rs.GetObject("Select object")
if obj_id != None:
    print "{0}".format(obj_id)