Timeline for Delete empty feature class in modelbuilder - "Calculate Value" Expression problems
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 23, 2016 at 21:45 | history | edited | PolyGeo♦ |
edited tags; edited tags
|
|
Aug 20, 2015 at 7:17 | vote | accept | aneh | ||
Mar 18, 2015 at 13:08 | answer | added | aneh | timeline score: 1 | |
Mar 18, 2015 at 13:01 | comment | added | aneh | It actual works now. | |
Mar 18, 2015 at 12:47 | comment | added | radouxju | I think that it would be easier if you did it all with a python script . There is probably a conflict here because you use getValue to run a tool that delet a fc which is used by getvalue as input. If you want to use a model, try with the result of your get value as a precondition and put the Delete tool in the main model | |
Mar 18, 2015 at 12:09 | comment | added | Erica | Yes, but you don't need to import the arcpy module if your Python code is running inside ArcMap -- only if externally. | |
Mar 18, 2015 at 12:07 | comment | added | aneh | Thank for the reply. Though, am I not importing arcpy in the second line in the block? | |
Mar 18, 2015 at 11:59 | comment | added | Erica |
One minor note, even though I do not think it is the cause of your problem: you do not need import arcpy in your code block.
|
|
Mar 18, 2015 at 10:36 | history | asked | aneh | CC BY-SA 3.0 |