for row in cursor: text = textwrap.dedent(str(row.Overview).strip()+str(row.Project).strip()) for elm in aprcpy.mapping.ListLayoutElements(map, "TEXT_ELEMENT"): if len(text)==len(text): if elm.name == "Text1": elm.text = text[0:1000] if elm.name == "Text2": elm.text = text[1001:]
What does text = '{0} {1} {2} denote?
text = '' cursor = arcpy.SearchCursor(Project) for row in cursor: text = '{0} {1} {2} '.format(text, str(row.Overview).strip(), str(row.Project).strip())
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.