def __getstate__(self): #myContent = copy.copy(self.__dict__) myContent = coKeydObject.__getstate__(self) del myContent['_coTrackingMgr__1sTimer'] del myContent['_coTrackingMgr__negMsgHandler'] del myContent['_coTrackingMgr__oldVRCInput'] return myContent
def __getstate__(self): mycontent = coKeydObject.__getstate__(self) del mycontent['_module'] del mycontent['_moduleName'] del mycontent['_lastDataConnection'] del mycontent['_lastScalarConnection'] del mycontent['_last2DPartConnection'] if ('_visualizerColorCP' in mycontent.keys()): # PartColoredVis del mycontent['_visualizerColorCP'] return mycontent