parameters: (self, dataType="data")
return_statement: return data
docstring: helixOpPropertyEnumerations(dataType="data")... return property enumeration lists of specified dataType.
          Args:
              dataType = 'data', 'raw', 'translated'
          Notes:
          'data' is list of internal string literals used in code
          'raw' is list of (translated_text, data_string) tuples
          'translated' is list of translated string literals
docstring_summary: helixOpPropertyEnumerations(dataType="data")... return property enumeration lists of specified dataType.
          Args:
              dataType = 'data', 'raw', 'translated'
          Notes:
          'data' is list of internal string literals used in code
          'raw' is list of (translated_text, data_string) tuples
          'translated' is list of translated string literals
docstring_tokens: helixOpPropertyEnumerations ( dataType = data ) ... return property enumeration lists of specified dataType . Args : dataType = data raw translated Notes : data is list of internal string literals used in code raw is list of ( translated_text data_string ) tuples translated is list of translated string literals
function: def propertyEnumerations(self, dataType="data"):
          """helixOpPropertyEnumerations(dataType="data")... return property enumeration lists of specified dataType.
          Args:
              dataType = 'data', 'raw', 'translated'
          Notes:
          'data' is list of internal string literals used in code
          'raw' is list of (translated_text, data_string) tuples
          'translated' is list of translated string literals
          """
  
          # Enumeration lists for App::PropertyEnumeration properties
          enums = {
              "SpindleDir": [
                  (translate("Path_ToolController", "None"), "None"),
                  (translate("Path_ToolController", "Forward"), "Forward"),
                  (translate("Path_ToolController", "Reverse"), "Reverse"),
              ],  # this is the direction that the profile runs
          }
  
          if dataType == "raw":
              return enums
  
          data = list()
          idx = 0 if dataType == "translated" else 1
  
          PathLog.debug(enums)
  
          for k, v in enumerate(enums):
              data.append((v, [tup[idx] for tup in enums[v]]))
          PathLog.debug(data)
  
          return data
function_tokens: def propertyEnumerations ( self , dataType = "data" ) : # Enumeration lists for App::PropertyEnumeration properties enums = { "SpindleDir" : [ ( translate ( "Path_ToolController" , "None" ) , "None" ) , ( translate ( "Path_ToolController" , "Forward" ) , "Forward" ) , ( translate ( "Path_ToolController" , "Reverse" ) , "Reverse" ) , ] , # this is the direction that the profile runs } if dataType == "raw" : return enums data = list ( ) idx = 0 if dataType == "translated" else 1 PathLog . debug ( enums ) for k , v in enumerate ( enums ) : data . append ( ( v , [ tup [ idx ] for tup in enums [ v ] ] ) ) PathLog . debug ( data ) return data