LoadPoint3DArrayFromTextFile


Loads arrays of 3D points from text file.

Syntax

C++
C#
Python
 
def LoadPoint3DArrayFromTextFile(
	inFile: str,
	inFileFormat: Grid3DFileFormat,
	/,
	*,
	inSplitters: str = "",
	inLineSkip: int = 0,
	diagExtractedValues: Point3D | None = None
)
-> (
	outPoints: list[Point3D],
	diagTextLine: str
)

Parameters

Name Type Default Description
Input value inFile str
Input value inFileFormat Grid3DFileFormat
Input value inSplitters str "" Characters ignored between numbers, space is always splitter and ignored in file sequence
Input value inLineSkip int 0 Number of first lines to skip
Output value outPoints list[Point3D]
Diagnostic input diagTextLine str First valid parse line
Diagnostic input diagExtractedValues Point3D | None None Example of expected line