returns the dictionary of values. if no values are supplied this instance is returned as a dictionary.
(self, values)
| 28 | return pattern |
| 29 | |
| 30 | def getValues(self, values): |
| 31 | """ returns the dictionary of values. |
| 32 | if no values are supplied this |
| 33 | instance is returned as a dictionary.""" |
| 34 | if values == None: |
| 35 | if self.BlendValues == None: |
| 36 | values = self.__dict__ |
| 37 | else: |
| 38 | values = self.BlendValues |
| 39 | if type(values) != types.DictionaryType: |
| 40 | values = values.__dict__ |
| 41 | return values |
| 42 | |
| 43 | def getBasePattern(self, values): |
| 44 | """returns a pattern in the format |