Reference Counted Objects

 
 
 

Reference counted objects can decrease the incidence of memory leaks. These objects have object names ending in Ref (EventRef, NodeRef, GroupRef, and so on).

To create an EventRef wrapper around an event object, use: EventRef(objectname) To get objects in wrappers use: EventRef.get(). Note that EventRef.get() can return None, which indicates no reference object exists.