How to make a CREATE FEATURE in model builder?

769
1
01-12-2017 01:36 PM
JustinStanfield
New Contributor II

So, I have a model that takes a proposed pipeline project and generates a materials list as an excel document. I've been asked to auto generate the number of anodes needed and have it show in the materials list. I've got a calculate field with the function that gives me the number I need, but to get it back into the model I feel I got to iterate a create feature, and I don't know how to do this. I need to pre-populate the attributes and iterate it the number of times as anodes needed. (I think) If anyone know how, or another way to do this I'd love to hear it. I've attached a image of the model and you can see where I'm hung up at.

0 Kudos
1 Reply
JustinStanfield
New Contributor II

Okay, so I think I've come up with a solution, but I still need help. I'm trying to use InsertCursor (arcpy.da) in the Calculate Tool in modelbuilder. This way I can create a function with a for loop to auto-iterate all in one. Unfortunately, I can't get it to work. I'm new to python, and learning as I go. Could someone please help here? 

0 Kudos