Reverses the from-to direction of line features.
You can view the orientation of line features by symbolizing line features with arrowheads.
Direction-dependent attributes, such as address ranges, are not flipped—only the geometry is flipped. For example, suppose a line feature has an LF-ADD attribute ('left from address') of 100 and an LT-ADD ('left-to address') of 198. These values will not change if the line is flipped.
When input is a feature layer with a selection, only selected features will be modified.
This tool modifies the input data. See Tools with no outputs for more information and strategies to avoid undesired data changes.
The input line feature class or layer.
Shows, within a Python interactive window, how to use Python command to flip line.
import arcpy arcpy.FlipLine_edit("C:/data/project.gdb/streams")
This example shows how to use Python stand-alone script to do in-place editing.
# Name: Flipline_Example.py # Description: Flip line features import arcpy arcpy.env.workspace="C:/data/project.gdb" inFeatures="streams" arcpy.FlipLine_edit(inFeatures)
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes