Gocator_GrabSection
Captures Section from Gocator device.
Syntax
C++
Python
def Gocator_GrabSection( state: Gocator_State, inInputQueueSize: int, /, *, inAddress: str | None = None, inSectionID: int = 0 ) -> ( outResult: bool, outSectionData: list[Point2D], outSectionIntensity: Profile | None, outXScale: float, outXOffset: float, outZScale: float, outZOffset: float, outFrameInfo: GocatorFrameInfo )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Gocator_State | |||
![]() |
inAddress | str | None | None | Gocator Device identifying IP address (e.g. "127.0.0.1") or serial number (e.g. "SN:17335") | |
![]() |
inInputQueueSize | int | 1 - 50000 | Number of incoming frames that can be buffered before the application is able to process them | |
![]() |
inSectionID | int | 0 - ![]() |
0 | |
![]() |
outSectionData | list[Point2D] | |||
![]() |
outSectionIntensity | Profile | None | |||
![]() |
outXScale | float | X scale in mm | ||
![]() |
outXOffset | float | X offset in mm | ||
![]() |
outZScale | float | Z scale in mm | ||
![]() |
outZOffset | float | Z offset in mm | ||
![]() |
outFrameInfo | GocatorFrameInfo |




