AnsweredAssumed Answered

Invalid Characters in Creating Feature Class

Question asked by vshah6 on Feb 21, 2018
Latest reply on Feb 22, 2018 by vshah6



In order to do a network analysis without altering the existing data, I am creating a new GDB that will then have the 3 feature classes I need created within and then the data appended to it. However, when I try to create the feature class in my script, I get an error saying invalid characters. I looked up the error but couldn't derive a solution. Any help is greatly appreciated.


Here is my script:


outLocation = copied_Geodatabase
fiberFC = 'Fiber'
fiberTemplate = arcpy.mapping.ListLayers(mxd, 'Fiber Segments')[0]
fiber_geometry = 'POLYLINE'

arcpy.CreateFeatureclass_management(outLocation, fiberFC, fiber_geometry, fiberTemplate)