def add_outputs(self): self.output.delete_output("GewSt") gemeinde_werte = lib_einnahmen.get_values(["GewSt"], self.projectname) symbology = lib_einnahmen.get_symbology(gemeinde_werte, 1) self.output.add_layer(groupname="einnahmen", featureclass="Gemeindebilanzen", template_layer=symbology, template_folder="einnahmen", name="Gewerbesteuer in €", disable_other=True, symbology={'valueField': "GewSt"}, label_replace={'Einw_Saldo': 'GewSt'}) arcpy.RefreshTOC() arcpy.RefreshActiveView()
def add_outputs(self): self.output.delete_output("Umsatzsteuer") gemeinde_werte = lib_einnahmen.get_values(["USt"], self.projectname) symbology = lib_einnahmen.get_symbology(gemeinde_werte, 1) self.output.add_layer( groupname = "einnahmen", featureclass = "Gemeindebilanzen", template_layer = symbology, template_folder = "einnahmen", name = "Umsatzsteuer in €", disable_other = True, symbology = {'valueField': "USt"}, label_replace = {'Einw_Saldo': 'USt'} ) arcpy.RefreshTOC() arcpy.RefreshActiveView()
def add_outputs(self): self.output.delete_output("SvB_Saldo") gemeinde_werte = lib_einnahmen.get_values(["SvB_Saldo"], self.projectname) symbology = lib_einnahmen.get_symbology(gemeinde_werte, 1) self.output.add_layer(groupname="einnahmen", featureclass="Gemeindebilanzen", template_layer=symbology, template_folder="einnahmen", name="SvB-Saldo", disable_other=True, symbology={'valueField': "SvB_Saldo"}, label_replace={'Einw_Saldo': 'SvB_Saldo'}) diagram = Dia_Wanderung_SvB(projectname=self.par.name.value) self.output.add_diagram(diagram) arcpy.RefreshTOC() arcpy.RefreshActiveView()
def add_outputs(self): self.output.delete_output("SvB_Saldo") gemeinde_werte = lib_einnahmen.get_values(["SvB_Saldo"], self.projectname) symbology = lib_einnahmen.get_symbology(gemeinde_werte, 1) self.output.add_layer( groupname = "einnahmen", featureclass = "Gemeindebilanzen", template_layer = symbology, template_folder = "einnahmen", name = "SvB-Saldo", disable_other = True, symbology = {'valueField': "SvB_Saldo"}, label_replace = {'Einw_Saldo': 'SvB_Saldo'} ) diagram = Dia_Wanderung_SvB(projectname=self.par.name.value) self.output.add_diagram(diagram) arcpy.RefreshTOC() arcpy.RefreshActiveView()