010266: OBSERVERS option not available for LINE features.

Description

A line feature class is not a valid input in the Visibility with observers (esriGeoAnalysisVisibilityObservers or esriGeoAnalysisVisibilityObserversUseCurvature) option. The input must be a point feature class.

Solution

Specify a point feature class as input.