MakeRegionConditional
Computes a region feature, checks whether its value is in range and creates a conditional region on this basis.
Syntax
C++
C#
Python
def MakeRegionConditional( inRegion: Region, /, *, inFeature: RegionFeature = RegionFeature.Area, inMinimum: float | None = None, inMaximum: float | None = None ) -> outConditionalRegion: Region | None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inFeature | RegionFeature | RegionFeature.Area | Region feature value to be computed |
![]() |
inMinimum | float | None | None | Lowest value of the range |
![]() |
inMaximum | float | None | None | Highest value of the range |
![]() |
outConditionalRegion | Region | None | The region if the condition is met or nothing otherwise |


