+ Reply to Thread
Results 1 to 7 of 7

Thread: Access "Accumulate Attributes" in model or Python

  1. #1
    Erik Martin
    Join Date
    Aug 2010
    Posts
    69
    Points
    0
    Answers Provided
    4


    0

    Default Access "Accumulate Attributes" in model or Python

    Is there a way to access the ArcHydro "Accumulate Attributes" tool through either a model or Python? The tool is on the toolbar and is working well for my purposes, but I am trying to automate the processing of many operations and I don't see it available in the ArcHydro toolbox, nor do I see Python syntax anywhere. I am using ArcGIS 10 and ArcHydro 2.0.1.75.

    Thanks,
    -Erik

  2. #2
    Joanna Merson
    Join Date
    Apr 2010
    Posts
    10
    Points
    1
    Answers Provided
    0


    0

    Question Re: Access "Accumulate Attributes" in model or Python

    Did you ever find an answer for this?
    Thanks!

    PS enjoy: http://www.xkcd.com/979/

  3. #3
    Peter Wilson
    Join Date
    Apr 2010
    Posts
    234
    Points
    12
    Answers Provided
    1


    1

    Exclamation Re: Access "Accumulate Attributes" in model or Python

    Hi Erik

    There is currently no way to achieve this either by scripting or model bulder. The reason for this is that you can't access the tool via the toolbox. You would have write your own tool to perform the same process using either python or C#.

    Regards
    Peter Wilson
    GIS Technologist
    Aurecon South Africa (Pty) Ltd

  4. #4
    Erik Martin
    Join Date
    Aug 2010
    Posts
    69
    Points
    0
    Answers Provided
    4


    0

    Default Re: Access "Accumulate Attributes" in model or Python

    Thanks, I thought that may be the case.

  5. #5
    Jon Walker
    Join Date
    Jan 2011
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: Access "Accumulate Attributes" in model or Python

    I notice the last post on this topic was from January. Has anybody come across a script that can automate the accumulate attributes process?

    Jon

  6. #6
    Erik Martin
    Join Date
    Aug 2010
    Posts
    69
    Points
    0
    Answers Provided
    4


    0

    Default Re: Access "Accumulate Attributes" in model or Python

    Quote Originally Posted by jaydubbbbbb View Post
    I notice the last post on this topic was from January. Has anybody come across a script that can automate the accumulate attributes process?

    Jon
    Don't know if you're still looking for this, but I ended up scripting something using the Geometric Network tools (available as a toolbox in 10.1) and an arcpy.da cursor. It takes a while to run (~30hours to run my stream network of 410,000 segments) but that's actually a little faster than the performance I was getting using ArcHydro's Accumulate Attributes. Let me know if you're still interested...

  7. #7
    Jon Walker
    Join Date
    Jan 2011
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: Access "Accumulate Attributes" in model or Python

    Quote Originally Posted by ehm119 View Post
    Don't know if you're still looking for this, but I ended up scripting something using the Geometric Network tools (available as a toolbox in 10.1) and an arcpy.da cursor. It takes a while to run (~30hours to run my stream network of 410,000 segments) but that's actually a little faster than the performance I was getting using ArcHydro's Accumulate Attributes. Let me know if you're still interested...
    Hey Erik - thanks for the response, I just noticed it. I would definitely be interested in seeing that script, as well as in any useful instructions for its use that you'd like to share.

    Jon

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts