Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > FeatCmd Object : SetInputFeat Method
Required String that is the ID of a feature.
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).
SetInputFeat Method
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