CreatePointGrid


Creates a grid of points.

Syntax

C++
Python
 
def CreatePointGrid(
	inPoint: Point2D,
	inRowCount: int,
	inColumnCount: int,
	/,
	*,
	inAnchor: Anchor2D = Anchor2D.TopLeft,
	inRowStep: float = 1.0,
	inColumnStep: float = 1.0
)
-> outPointGrid: list[Point2D]

Parameters

Name Type Range Default Description
Input value inPoint Point2D A starting point of the created grid
Input value inAnchor Anchor2D Anchor2D.TopLeft Anchor of the reference point
Input value inRowCount int 0 - + Number of rows the grid will have
Input value inColumnCount int 0 - + Number of columns the grid will have
Input value inRowStep float 0.0 - 1.0 Distance between consecutive rows of the created grid
Input value inColumnStep float 0.0 - 1.0 Distance between consecutive columns of the created grid
Output value outPointGrid list[Point2D] Created point grid