laptop and a wrench

Bug

The ISurfaceOp.Visibility() method ignores the OFFSETB value in ArcObjects SDK for the Microsoft .NET Framework 10.6.1 and newer releases.

Last Published: October 27, 2021 ArcObjects SDK for the Microsoft .NET Framework
Bug ID Number BUG-000140416
SubmittedJune 2, 2021
Last ModifiedNovember 10, 2021
Applies toArcObjects SDK for the Microsoft .NET Framework
Version found10.8.1
Operating SystemWindows
Operating System Version10.0 64 Bit
Version Fixed10.8.2
StatusFixed

Workaround

Set the AvolidDataConverstion property to true on the IRasterAnalysisGlobalEnvironment interface to allow the ArcObjects SDK 10.x Spatial Analyst execution path to be used. Insert the following 2 lines right before the Visibility method is called.

IRasterAnalysisGlobalEnvironment globalEnv = (IRasterAnalysisGlobalEnvironment)sop;

globalEnv.AvoidDataConversion = true;

Steps to Reproduce

Bug ID: BUG-000140416

Software:

  • ArcObjects SDK for the Microsoft .NET Framework

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic