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
Bug ID Number BUG-000140416
SubmittedJune 2, 2021
Last ModifiedJune 5, 2024
Applies toArcObjects SDK
Version found10.8.1
Operating SystemWindows OS
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

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options