SkipEmptyPath
If the input path has at least one point, then it is copied to the output; otherwise Nil is returned.
Applications:Secures against domain errors caused by empty paths, e.g. just before the PathBoundingBox filter is to be invoked.
Syntax
C++
Python
def SkipEmptyPath( inPath: Path, / ) -> ( outNotEmptyPath: Path | None, outIsNotEmpty: bool )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
outNotEmptyPath | Path | None | A copy of the input path, if it is not empty, or Nil otherwise | |
![]() |
outIsNotEmpty | bool | Indication if the input path is not empty |


