Python Object Methods
saveObject
getObject
deleteObject
These methods allow you to save, get, and delete Python objects to and
from the server.
saveObject
def saveObject(self, name, object, category):
# Save a Python object (e.g. a Numeric
grid)
# in the server under the given name
# Example:
# self.saveObject("MyGrid", numericGrid,
"DiscrepancyValueGrids")
#
getObject
def getObject(self, name, category):
# Returns the given object stored in
the server
# Example:
# discrepancyValueGrid =
self.getObject("MyGrid","DiscrepancyValueGrids")
#
deleteObject
def deleteObject(self, name, category):
# Delete the given object stored in
the server
# Example:
# self.deleteObject("MyGrid",
"DiscrepancyValueGrids")
#