PC-DMIS 2019 R2 Object Library
SetInputFeat Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ID
Required String that is the ID of a feature.
index
Required Long between one and FeatCmd.NumHits. The index value must be less than the value returned by the NumHits property (you can use the NumHits property with constructed features to determine the number of inputs. For adding inputs you will need to use the AddInputFeat method).
PCDLRN ActiveX DLL > FeatCmd Object : SetInputFeat Method

Glossary Item Box

Description

Replaces the input feature at position Index in FeatCmd object's list of input features with ID.

Syntax

Visual Basic
Public Function SetInputFeat( _
   ByVal ID As String, _
   ByVal index As Long _
) As Boolean

Parameters

ID
Required String that is the ID of a feature.
index
Required Long between one and FeatCmd.NumHits. The index value must be less than the value returned by the NumHits property (you can use the NumHits property with constructed features to determine the number of inputs. For adding inputs you will need to use the AddInputFeat method).

Return Type

Boolean value. This function returns TRUE if FeadCmd is a constructed feature and ID is the ID of a valid input feature, and Index is the index of a input feature, FALSE otherwise.

See Also

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