SkipEmptyProfile


If the input profile contains at least one element, then it is copied to the output; otherwise Nil is returned.

Applications:Secures against domain errors caused by empty profiles, e.g. just before the ProfileAverage filter is to be invoked.

Syntax

C++
C#
Python
 
def SkipEmptyProfile(
	inProfile: Profile,
	/
)
-> (
	outNotEmptyProfile: Profile | None,
	outIsNotEmpty: bool
)

Parameters

Name Type Default Description
Input value inProfile Profile Input profile
Output value outNotEmptyProfile Profile | None
Output value outIsNotEmpty bool