Hide Table of Contents
Select Method (IAdvancedRouteSelector)

Gets the names of the attached components for the selected component.

.NET Syntax

Visual Basic (Declaration) 
Function Select( _
   ByVal selIndex As System.Integer, _
   ByVal append As System.Boolean, _
   ByVal callbackIn As System.Object, _
   ByVal outputType As System.Integer, _
   ByRef selObjName As System.Object _
) As System.Object
Visual Basic (Usage) 
Dim instance As IAdvancedRouteSelector
Dim selIndex As System.Integer
Dim append As System.Boolean
Dim callbackIn As System.Object
Dim outputType As System.Integer
Dim selObjName As System.Object
Dim value As System.Object
 
value = instance.Select(selIndex, append, callbackIn, outputType, selObjName)
C# 
System.object Select( 
   System.int selIndex,
   System.bool append,
   System.object callbackIn,
   System.int outputType,
   out System.object selObjName
)
C++/CLI 
System.Object^ Select( 
&   System.int selIndex,
&   System.bool append,
&   System.Object^ callbackIn,
&   System.int outputType,
&   [Out] System.Object^ selObjName
) 

Parameters

selIndex
Index of the component (fitting, cable, or wire) to select
append
True appends the selection to the selection list, false replaces the selection list with this selection
callbackIn
SolidWorks SelectData or NULL
outputType
Output type as defined by swAdvancedRouteSelectionOutput_e
selObjName
Array of length 1; contains either the name of the selected component or an empty string (see Remarks)

Return Value

Array of names of the attached components for the selected component (see Remarks)

Example

Remarks

Both selObjName and the return value of this method are Variant SafeArrays of BSTRs. See Passing SafeArrays in Visual Basic and Passing SafeArrays in C++ for more information.
 

See Also

Availability

SolidWorks Routing 2009 FCS


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Select Method (IAdvancedRouteSelector)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2014 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.