Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BufferOutput = r'D:/Result/Segmented_Buffer.shp'
- CenterLine = r'D:/Result/Segmented_CenterLine.shp'
- MAX_width = 1.0
- MIN_width = 0.5
- centerlines_type = "Inside"
- smooth_centerlines = True
- arcpy.ET_GPCreateCenterlines(BufferOutput, CenterLine, MAX_width, MIN_width, centerlines_type, smooth_centerlines)
- Error:
- Traceback (most recent call last):
- File "...../Convert Segment to Line.py", line 7, in <module>
- arcpy.ET_GPCreateCenterlines(BufferOutput, CenterLine, MAX_width, MIN_width, centerlines_type, smooth_centerlines)
- TypeError: ET_GPCreateCenterlines() takes no arguments (6 given)
- Process finished with exit code 1
- arcpy.CreateCenterlines(BufferOutput, CenterLine, MAX_width, MIN_width, centerlines_type, smooth_centerlines)
- Error:
- Traceback (most recent call last):
- File ".../Convert Segment to Line.py", line 7, in <module>
- arcpy.CreateCenterlines(BufferOutput, CenterLine, MAX_width, MIN_width, centerlines_type, smooth_centerlines)
- AttributeError: 'module' object has no attribute 'CreateCenterlines'
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement