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 | |
|---|---|---|---|---|
![]() |
inProfile | Profile | Input profile | |
![]() |
outNotEmptyProfile | Profile | None | ||
![]() |
outIsNotEmpty | bool |


