I built a model tool which is running perfectly. Because I need to add some more functionalities like filtering, which I can only do with the script, I export the model to script and set the filter which is working fine also. However, when I run the script, it failed and send me a message which i will attach. I guess maybe it is from my tools…(Show moreShow less)
I have a shapefile of thousands of lines that I want to make each record in the attribute table its own unique shapefile and then buffer each and every one of those lines and also run Euclidean distance on the unique shapefiles. I think I can do this using Model Builder and working with iterators but I can't seem to find out which iterators I…(Show moreShow less)
Hi Erik Öhrner, There are few ways you could go about this, but the Iterator you have selected Iterate feature classes will achieve the result you are after. Please note that only one Iterator can be used per model Iterators—ArcGIS Pro | Documentation. This may mean that if you wanted to run through your features again for the Euclidean…
Hello, Trying to figure out how to use the Get Count Tool as a variable and to use it in a field calculator expression. Tried to use inline variable substitution but it is not working properly and giving me an error related to string/interger. The Row Count is set as a precondition. Attached is a photo for reference. any advice would be well…(Show moreShow less)
ok try this (sentences which start with a # are just comments to you, not part of the code). # insert this where it says 'code block' def func(field): result = (float(field) + 1.0)/ 2.0 return result #put this where it says Med_PS = func(%Row Count%) #if that doesnt work try changing the 'code block' to def func(field): …
Disclaimer: I know the first thing that might come to mind is Split By Feature. Unfortunately this script doesn't work well in the Model Maker. Split by Feature is a great script though, and works very well outside of the Model Maker. As the title says I'm looking for a way to use Select by Attribute, or a similar tool, to automatically: 1.…(Show moreShow less)
I'm trying to use ArcGIS Modelbuilder to streamline the construction of a new, empty file geodatabase. In the model I first use the Create File GDB GP tool, then I import the data model xml (schema only) in that new File GDB. This new File GDB now contains a feature dataset- but I want the user to be able to specify the coordinate system and…(Show moreShow less)
Thank you for your recommendations, Curtis-- much appreciated. You were right- the Define Projection route was not the way to go-- the model just wasn't changing the resolution and tolerance settings as required. Having a user-supplied XML is important to us though because we do update our schema periodically and I don't have the time to create…
Hi and thank you for reading my question. In short, I need to apply the geodatabase name (the KML file) to the feature created (Polyline) in the geodatabase when using the "KML to Layer" tool. I am using the latest version of ArcGIS PRO (v2.5.0) I have a situation where I need to convert a large set of KML files to Shapefiles for further…(Show moreShow less)
I am building a model in ArcGIS pro. I am trying to set range for months value list (January, February, March, April, September, October, November, December) whereby a user can select from , for instance, from January - March, or September - December. I have done it and it is working but the down side of it is, it selects alphabetically i.e if…(Show moreShow less)
I am making model in model builder. This will be a geoprocessing tool used in Portal. I want the geoprocessing tool to be able to select a parcel, determine buffer distance, then select the surrounding parcels within that buffer. Edit: I want to export the Selected Parcels to CSV.
I think it is working but it selects alphabetically i.e if I select from April it will select all values of month from A-S, but if I select from January to April, it returns null because J does not come before A.. how can i solve this to make it select January to April or September to December to return a value.@Curtis Price .