//var voxelLayer = ... ; //Must be on the QueuedTask.Run() var variable = voxelLayer.GetVariableProfiles().First(); var max = variable.MaxNumberOfIsosurfaces; if (max >= variable.GetIsosurfaces().Count) { //no more surfaces can be created on this variable }
Target Platforms: Windows 11, Windows 10