Visibility Ratio calculated by Skyline Graph

372
2
12-09-2019 08:21 AM
SatoshiHirabayashi
New Contributor

When you run the Skyline Graph tool in 3D Analyst Tools the visibility ratio is displayed in the Results window. When you run the same tool in a stand-alone Python script is there any way to obtain the visibility ratio in the Python script?

0 Kudos
2 Replies
by Anonymous User
Not applicable

ArcGIS Pro3D

0 Kudos
KhalidDuri1
Esri Contributor

Hi Satoshi, we have an enhancement request to provide that information in the return of the tool's execution in Python. For now, you can use string manipulation to extract the value from the result of arcpy.GetMessages():

float(arcpy.GetMessages().split('degrees is ')[1].split('.\n')[0])