<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating buffer with Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494955#M38867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Copy_management tool to copy the feature datasets to your other geodatabase.&amp;nbsp;&amp;nbsp; Also if you wanted to save the feature classes in each feature dataset, then your output location would have to be the feature dataset in the output geodatabase, right now my code has it outputting as a feature class within the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively to using the cursor, you could just make a field in each feature classes that was the flight height multiplied by the float value you are using, then just use that field value as the value for the buffer, so you are using the field name as input instead of a number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 16:47:41 GMT</pubDate>
    <dc:creator>IanMurray</dc:creator>
    <dc:date>2014-04-09T16:47:41Z</dc:date>
    <item>
      <title>Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494951#M38863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am very new to python, and am trying to utilize a stand alone script that I can use on a working geodatabase full of feature classes in various feature datasets. Here's what I'm trying to accomplish, and the script that I have constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I have a file geodatabase full of feature datasets based on county, inside of the county feature datasets I have feature classes that represent the center of aerial photography flight lines. These feature classes have a field that contains the flight height of the photography.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I have constructed a script that so far is unsuccessful at what I want it to accomplish. My goal is to have a script that will batch process all of the feature classes in the geodatabase, will create buffers of the lines contained in those feature classes based on the flight height field which needs to be multiplied by a factor of 1.502167099846. Then output into my separate geodatabase that will contain those photo coverages for use with an ArcGIS online map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the script that I have constructed thus far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; # Name: Flight_Line_Buffer.py # Description: Creates area of Aerial Photography coverage based on digitized flight lines, and associated flight height field in flight line table.&amp;nbsp; #Import system modules import arcpy from arcpy import env&amp;nbsp; # Set environment settings env.workspace = "J:\Flight_Lines_GDB\Flight_Lines_Coverage.gdb" env.Outworkspace = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"&amp;nbsp; # Create buffer distance output from Flight Height field, and buffer flight lines Flightlines = "J:\Flight_Lines_GDB\Flight_Lines_Coverages.gdb" PhotoCoverages = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb" distanceField = "Flight_Height" sideType = "FULL" endType = "FLAT" dissolveType = "NONE" arcpy.Buffer_analysis(Flightlines, PhotoCoverages, distanceField, sideType, endType, dissolveType) &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Things I know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I cannot just input the geodatabase as an input in the buffer tool, but I am unsure how to accomplish a loop or the like to process through all of the feature classes in the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I cannot multiply a the field that I want to input as the buffer distance by a number either when I am defining it or in the tool parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I am a bit in over my head, and I am very very thankful for anyone with the patience and gracious nature to help me in any way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for looking at this, I appreciate any help you can give.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd Howell&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 15:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494951#M38863</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-09T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494952#M38864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to loop through the features, creating a buffer for each one. As you access each one, you can multiply the value in the height field by your number. I doubt that you need or will see a better result by using a number with such precision, but hey, that's your call. You could use a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018w00000011000000"&gt;search cursor&lt;/A&gt;&lt;SPAN&gt; to iterate through the records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a relatively small number of unique heights, it might be faster to select sets of features by height and buffer all of them with that value at once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 15:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494952#M38864</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2014-04-09T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494953#M38865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Greg! I appreciate the feedback. How exactly do I establish the geodatabase as a list for input into a for loop? Is there any way to preserve the feature datasets so that they transfer into the output geodatabase once the feature classes are processed through the buffer tool?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 16:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494953#M38865</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-09T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494954#M38866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From reading your post, I gather you have multiple feature datasets in your geodatabase with multiple feature classes in each, so you need to iterate through each dataset and feature class within the each dataset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Easiest way to do that is to use arcpy.ListDatasets and arcpy.ListFeatureClasses&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the multiplying the flight height field by your float value I'd use arcpy.SearchCursor to get the value from the field&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# Name: Flight_Line_Buffer.py
# Description: Creates area of Aerial Photography coverage based on digitized flight lines, and associated flight height field in flight line table.

#Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "J:\Flight_Lines_GDB\Flight_Lines_Coverage.gdb"
env.Outworkspace = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

# Create buffer distance output from Flight Height field, and buffer flight lines
PhotoCoverages = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

#fetches all feaure datasets in workspace into a list
fdlist = arcpy.ListDatasets()

# loop through feature datasets in the list
for fd in fdlist:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #setting new workspace to the feature dataset we are using
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fd 

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # fetches all feature classes in workspace into a list
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclist = arcpy.ListFeatureClasses()

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #loop through feature classes in our list
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fclist:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distanceField = "Flight_Height"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sideType = "FULL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endType = "FLAT"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissolveType = "NONE"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; multiplier = 1.502167099846
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = arcpy.SearchCursor(fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = ((row.getValue(distanceField))*(multiplier))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(fc, PhotoCoverages, distance, sideType, endType, dissolveType)

del row 
del cursor

&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note this will only work for if there is only a single record in each feature class(which I am assuming from the fact you have multiple feature datasets and feature classes).&amp;nbsp; The for loop for the cursor is not needed but I wasn't sure how to call it otherwise, I'm use to looping through multiple records at the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I originally had arcpy.ListFeatureDatasets the correct syntax is arcpy.ListDatasets, sorry for the confusion&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494954#M38866</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2021-12-11T21:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494955#M38867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Copy_management tool to copy the feature datasets to your other geodatabase.&amp;nbsp;&amp;nbsp; Also if you wanted to save the feature classes in each feature dataset, then your output location would have to be the feature dataset in the output geodatabase, right now my code has it outputting as a feature class within the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively to using the cursor, you could just make a field in each feature classes that was the flight height multiplied by the float value you are using, then just use that field value as the value for the buffer, so you are using the field name as input instead of a number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 16:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494955#M38867</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-09T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494956#M38868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Alternatively to using the cursor, you could just make a field in each feature classes that was the flight height multiplied by the float value you are using, then just use that field value as the value for the buffer, so you are using the field name as input instead of a number.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, sure, if you want to do it the easy way!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could still use the looping concept to add and calculate the new field to each feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 18:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494956#M38868</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2014-04-09T18:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494957#M38869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; WOW. Thanks for the help, I do have feature classes with multiple records. Is it possible to work with that same code and modify it to work? The reason I have multiple datasets and feature classes is I am working with statewide data, and needed to be able to apply the state plane coordinates to each different area based on county, and then have feature classes based on towns. However, some towns have multiple flight lines so they required multiple records in the feature class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currently I am working mostly with the ESRI Press Python Scripting for ArcGIS book. Are there any other resources you could recommend for a person new to programming to get a good start with. I need to preserve the feature datasets into the new geodatabase as well. How would that best fit into the script example you have given?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help, I'm really taken aback at how helpful the Python community as a whole is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd Howell&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 12:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494957#M38869</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-10T12:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494958#M38870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Runtime error &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 35, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\arcobjects\arcobjects.py", line 1064, in getValue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return convertArcObjectToPythonObject(self._arc_object.GetValue(*gp_fixargs(args)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having trouble figuring out why it is returning this error when I try to run that code in ArcGIS as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 13:04:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494958#M38870</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-10T13:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494959#M38871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ian,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WOW. Thanks for the help, I do have feature classes with multiple records. Is it possible to work with that same code and modify it to work? The reason I have multiple datasets and feature classes is I am working with statewide data, and needed to be able to apply the state plane coordinates to each different area based on county, and then have feature classes based on towns. However, some towns have multiple flight lines so they required multiple records in the feature class. &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currently I am working mostly with the ESRI Press Python Scripting for ArcGIS book. Are there any other resources you could recommend for a person new to programming to get a good start with. I need to preserve the feature datasets into the new geodatabase as well. How would that best fit into the script example you have given?&lt;BR /&gt;&lt;BR /&gt;Thanks again for your help, I'm really taken aback at how helpful the Python community as a whole is.&lt;BR /&gt;&lt;BR /&gt;Todd Howell&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can you the copy the feature datasets with arcpy.Copy_management, which can be put in the python script, probably while you are looping through feature datasets.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;THis is one problem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Buffer_analysis(fc, PhotoCoverages, distance, sideType, endType, dissolveType)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as it needs to output to a feature class, which we have it outputting to a geodatabase, but its a pretty easy fix, but we need to make sure it has a different output name each time or it will crash.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Busy at work right now, but I can help you out again in a bit.&amp;nbsp; I'm pretty new to python myself, so not familiar with alot of good online resources, but arcgis help within ArcGIS is really handy for checking syntax and what your input and outputs for the methods are.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:44:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494959#M38871</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-10T16:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494960#M38872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might want to set your distance_height through multiplier variables outside of the for loop to save the overhead of setting them each trip through the loop. Might only be a negligible performance hit, but good practice to avoid it if not needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 18:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494960#M38872</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2014-04-10T18:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494961#M38873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will probably take a bit of debugging, since I don't have a sample dataset to test on but this should run through each feature dataset in your gdb, copy your feature dataset to you AerialPhotographycoverage.gdb and then run through each feature class in your feature dataset make a buffer and save the buffer in the copied feature dataset in the aerialphotographycoverage.gdb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

# Name: Flight_Line_Buffer.py
# Description: Creates area of Aerial Photography coverage based on digitized flight lines, and associated flight height field in flight line table.

#Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "J:\Flight_Lines_GDB\Flight_Lines_Coverage.gdb"
env.Outworkspace = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

# Create buffer distance output from Flight Height field, and buffer flight lines
PhotoCoverages = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

fdOutput = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"
#fetches all feaure datasets in workspace into a list
fdlist = arcpy.ListDatasets()

# loop through feature datasets in the list
for fd in fdlist:
&amp;nbsp;&amp;nbsp;&amp;nbsp; #setting new workspace to the feature dataset we are using
&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fd 
 arcpy.CopyManagement(fd , fdOutput + "/" + fd)
&amp;nbsp;&amp;nbsp;&amp;nbsp; # fetches all feature classes in workspace into a list
&amp;nbsp;&amp;nbsp;&amp;nbsp; fclist = arcpy.ListFeatureClasses()

&amp;nbsp;&amp;nbsp;&amp;nbsp; #loop through feature classes in our list
&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fclist:
&amp;nbsp; FCOutput = fdOutput + "/" + fd
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distanceField = "Flight_Height"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sideType = "FULL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endType = "FLAT"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissolveType = "NONE"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; multiplier = 1.502167099846
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = arcpy.SearchCursor(fc)
&amp;nbsp; count = 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = ((row.getValue(distanceField))*(multiplier))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(fc, FCOutput + "/" + fc + "_Buffer" + str(count) , distance, sideType, endType, dissolveType)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count += 1

del row 
del cursor

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry those buffer parameters get a bit nasty at the end.&amp;nbsp; I needed to set the output path and give each buffer a unique name so it doesn't crash because the same file name exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this does the trick for you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494961#M38873</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2021-12-11T21:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494962#M38874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I am getting a error returned for Line 23 which is where the Copy Management tool is called. In messing with the parameters in the tool to see what I could get to work, I had to call a specific feature dataset as the input and then the output could be just the OutWorkspace database. So, I think then the sticking point is creating another for in loop from a dataset list that would process the datasets into the target geodatabase, or is that going to copy over all the feature classes too? I'm sorry for being so bad at this, I'm really new, and took on a pretty ambitious project for my limited abilities. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 18:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494962#M38874</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-15T18:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494963#M38875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some of my indents were off, and I changed the environment before copying the feature datasets.&amp;nbsp; I tweaked it a bit, and hopefully it will run.&amp;nbsp; Next time if there is an error, post the error message, it will help with debugging.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# Name: Flight_Line_Buffer.py
# Description: Creates area of Aerial Photography coverage based on digitized flight lines, and associated flight height field in flight line table.

#Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "J:\Flight_Lines_GDB\Flight_Lines_Coverage.gdb"
env.Outworkspace = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

# Create buffer distance output from Flight Height field, and buffer flight lines
PhotoCoverages = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"

fdOutput = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"
#fetches all feaure datasets in workspace into a list
fdlist = arcpy.ListDatasets()

# loop through feature datasets in the list
for fd in fdlist:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print fd
&amp;nbsp;&amp;nbsp;&amp;nbsp; #setting new workspace to the feature dataset we are using
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyManagement(fd , fdOutput + "/" + fd)
&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fd 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # fetches all feature classes in workspace into a list
&amp;nbsp;&amp;nbsp;&amp;nbsp; fclist = arcpy.ListFeatureClasses()

&amp;nbsp;&amp;nbsp;&amp;nbsp; #loop through feature classes in our list
&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fclist:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FCOutput = fdOutput + "/" + fd
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distanceField = "Flight_Height"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sideType = "FULL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endType = "FLAT"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissolveType = "NONE"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; multiplier = 1.502167099846
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = arcpy.SearchCursor(fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = ((row.getValue(distanceField))*(multiplier))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(fc, FCOutput + "/" + fc + "_Buffer" + str(count) , distance, sideType, endType, dissolveType)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count += 1

&amp;nbsp;&amp;nbsp;&amp;nbsp; del row 
&amp;nbsp;&amp;nbsp;&amp;nbsp; del cursor
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:46:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494963#M38875</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2021-12-11T21:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494964#M38876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 23, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeError: 'module' object has no attribute 'CopyManagement'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had noticed those indent errors when I debugged it in PythonWin. The above error is the same one that was returning on the previous script too. I'm not sure if the input and input can be geodatabases in the copy tool. I tried setting up the tool in ArcMap with the parameters specified in the script and it gave an error for the output being a geodatabase, and not wanting to overwrite the OutWorkspace gdb with the input gdb. Should I try to just keep the current workspace .gdb for archival purposes, copy the feature classes out to a working gdb for the sake of simplifying the geoprocessing (removing the element of feature datasets). I think I'm going to write a script for creating a field with the calculated values for the buffer input to simplify that part of the code a bit too. What are your thoughts? Thank you very very much for all your help. I really appreciate you taking your time to teach me so much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 20:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494964#M38876</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-04-15T20:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494965#M38877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I feel like an idiot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CopyManagement should have been Copy_management.&amp;nbsp; Replace that and it should work(at least past that point)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 20:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494965#M38877</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-15T20:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494966#M38878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have taken a few more ESRI online python trainings, I'm back to trying to debug this script. The current sticking point is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; Eddy_County&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.2\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Users\thowe01\Desktop\IMURRAY_SCRIPT.py", line 39, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = ((row.getValue(distanceField))*(multiplier))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\arcobjects\arcobjects.py", line 1064, in getValue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return convertArcObjectToPythonObject(self._arc_object.GetValue(*gp_fixargs(args)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a few questions/ideas about it as well. I'll wait until you see this before I go muddying the waters with my half cocked ideas though. Hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494966#M38878</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-05-07T19:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494967#M38879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use row.distanceField instead of row.getValue(distanceField)? Also, make sure distanceField is numeric, not text, although that would probably be a different error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 12:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494967#M38879</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2014-05-08T12:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494968#M38880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm thinking it might just be easier to start with a script that creates a field for the buffer distance in the feature classes first, also having a field calculator script to use in the future while digitizing the new flight lines. The cursor script for making the calculations seems to be where this is all getting hung up at, right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494968#M38880</guid>
      <dc:creator>ToddHowell</dc:creator>
      <dc:date>2014-05-08T15:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating buffer with Python</title>
      <link>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494969#M38881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got another idea for taking care of that getting that field value.&amp;nbsp; We just have the cursor only iterate through that field so when we set the cursor, set the feature class, then fields you want in brackets, if you needed more then one you can comma seperate each field name(they need to be strings and all inside the brackets).&amp;nbsp; cursor = arcpy.SearchCursor(fc, ["distanceField"]).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the loop calling an index value on row will not refer back to the original field number i.e. if this was column 5 in your attribute table or index value 4, now it is index value 0(first one in the cursor).&amp;nbsp; If you had another field you were going to iterate through with the cursor listed after this one(say ID field) that would be index value 1, etc.&amp;nbsp; So I put in distance = int(row[0])*(multiplier)) in the for loop instead.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; # Name: Flight_Line_Buffer.py # Description: Creates area of Aerial Photography coverage based on digitized flight lines, and associated flight height field in flight line table.&amp;nbsp; #Import system modules import arcpy from arcpy import env&amp;nbsp; # Set environment settings env.workspace = "J:\Flight_Lines_GDB\Flight_Lines_Coverage.gdb" env.Outworkspace = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"&amp;nbsp; # Create buffer distance output from Flight Height field, and buffer flight lines PhotoCoverages = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb"&amp;nbsp; fdOutput = "J:\Aerial_Photo_GDB\Aerial_Photography_Coverage.gdb" #fetches all feaure datasets in workspace into a list fdlist = arcpy.ListDatasets()&amp;nbsp; # loop through feature datasets in the list for fd in fdlist: &amp;nbsp;&amp;nbsp;&amp;nbsp; print fd &amp;nbsp;&amp;nbsp;&amp;nbsp; #setting new workspace to the feature dataset we are using &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyManagement(fd , fdOutput + "/" + fd) &amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fd&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; # fetches all feature classes in workspace into a list &amp;nbsp;&amp;nbsp;&amp;nbsp; fclist = arcpy.ListFeatureClasses()&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; #loop through feature classes in our list &amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fclist: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FCOutput = fdOutput + "/" + fd &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distanceField = "Flight_Height" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sideType = "FULL" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endType = "FLAT" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissolveType = "NONE" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; multiplier = 1.502167099846 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = arcpy.SearchCursor(fc, ["distanceField"]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = 1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = float(row[0])*(multiplier)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(fc, FCOutput + "/" + fc + "_Buffer" + str(count) , distance, sideType, endType, dissolveType) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count += 1&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; del row&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; del cursor &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 21:09:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-buffer-with-python/m-p/494969#M38881</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-05-08T21:09:48Z</dc:date>
    </item>
  </channel>
</rss>

