Zum Hauptinhalt gehen

Update/reset all features

Kommentare

6 Kommentare

  • Kevin Penner

    Use a ForEach activity. Set the type to be <Graphic>.

     

    Loop through each Graphic in the FeatureSet setting graphic.Attributes("Yo") = "Dawg" in an assign activity.

     

    Let us know if that works.
    0
  • John Nerge
    That worked perfectly, thanks!
    0
  • Permanently deleted user
    Hi John, would you mind sharing your workflow that updates a single feature that you referenced in the beginning of your post? I'm having trouble with the UpdateFeatures activity.
    0
  • John Nerge
    Here are the bare bones pieces I use to update a single feature. In practice, these steps are usually cooked into a more complicated flowchart, but the basic process of querying the layer, updating the values using Assign activities, and then using Update Features is the same.

     

    https://drive.google.com/open?id=0B_hHHiqcTKMfLU9lSFo3bGFfRmM
    0
  • Permanently deleted user
    How about updating the each feature while still in the loop - it looks like it is not possible to do so and that UpdateFeatures only works when called outsite the loop ?
    0
  • John Nerge
    Do you have a use case for that situation you can share?
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.