CreateFlatSurface
Creates a uniform surface.
Syntax
C++
C#
Python
def CreateFlatSurface( inWidth: int, inHeight: int, outSurface: Surface, /, *, inPointType: PlainType = PlainType.Int16, inXOffset: float = 0.0, inXScale: float = 1.0, inYOffset: float = 0.0, inYScale: float = 1.0, inZOffset: float = 0.0, inZScale: float = 1.0, inZ: float | None = 0.0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inWidth | int | 1 - 65535 | Width of the created surface | |
![]() |
inHeight | int | 1 - 65535 | Height of the created surface | |
![]() |
inPointType | PlainType | PlainType.Int16 | Type of single point Z coordinate | |
![]() |
inXOffset | float | 0.0 | ||
![]() |
inXScale | float | 0.001D - ![]() |
1.0 | |
![]() |
inYOffset | float | 0.0 | ||
![]() |
inYScale | float | 0.001D - ![]() |
1.0 | |
![]() |
inZOffset | float | 0.0 | ||
![]() |
inZScale | float | 0.001D - ![]() |
1.0 | |
![]() |
inZ | float | None | 0.0 | Z coordinate of all points of the created surface | |
![]() |
outSurface | Surface |



