PC-DMIS 2022.1 Object Library
StartGetFeatPoint Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ID
The ID string of the feature to access.
dtype
The type of data to retrieve.
XYZ
Type of data to put in xyz.
PCDLRN ActiveX DLL > OldBasic Object : StartGetFeatPoint Method

Glossary Item Box

Description

This function is used to retrieve the hit or input data from constructed, measured, and auto features, as well as the hit data for scans. To retrieve the actual points, subsequent calls to GetFeatPoint must be made. When all of the needed point values have been retrieved, a call to EndGetFeatPoint must be made to free the memory allocated for  the points.

Syntax

Visual Basic
Public Function StartGetFeatPoint( _
   ByVal ID As String, _
   ByVal dtype As PCDMEASTHEO, _
   ByVal XYZ As PCDGETPOINTSTYPES _
) As Long

Parameters

ID
The ID string of the feature to access.
dtype
ValueDescription
PCD__MEAS 
PCD_THEO 
The type of data to retrieve.
XYZ
ValueDescription
PCD__BALLCENTER 
PCD__CENTROID 
PCD_VECTOR 
Type of data to put in xyz.

Return Type

The number of points retrieved from the object.

Remarks

The StartGetFeatPoint function may not be called mid block.

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.