SurfaceMedian_OrNil


Finds the median Z coordinate of the surface points; returns NIL if the surface is empty in the given region.

Syntax

C++
C#
Python
 
def SurfaceMedian_OrNil(
	inSurface: Surface,
	/,
	*,
	inRoi: Region | None = None
)
-> outMedian: float | None

Parameters

Name Type Default Description
Input value inSurface Surface Input surface
Input value inRoi Region | None None Region of interest
Output value outMedian float | None Median Z coordinate of the surface points