GetIsosurfaceColor Method
Gets the corresponding isosurface color for the specific value.
This method must be called on the MCT. Use QueuedTask.Run.
Change Isourface Color Back to Default
//var voxelLayer = ... ;
//Must be on the QueuedTask.Run()
//var variable = ...;
//var surface = ...;
if (surface.IsCustomColor)
{
surface.Color = variable.GetIsosurfaceColor((double)surface.Value);
surface.IsCustomColor = false;
//update the surface
variable.UpdateIsosurface(surface);
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.