Is it possible to know when an object was last edited or created?
Is this the sort of script to do so?
“”" August 2013
Shamelessly stolen from Dale’s AutoNameObjects.rvb
"""
import rhinoscriptsyntax as rs
def AutoNameObjects():
msg = "Select objects to automatically name"
objects = rs.GetObjects(msg, rs.filter.allobjects, True, True)
if not objects: return
prefix = rs.GetString("Object name prefix")
if not prefix: return
width = len(str(len(objects)+1))
for i, obj in enumerate(objects):
name = prefix + str(i+1).rjust(width, '0')
rs.ObjectName(obj, name)