Finds the number of specified components in the assembly document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAdvancedRouteSelector
Dim connectorName As String
Dim searchType As Integer
Dim singleInstanceOnly As Boolean
Dim append As Boolean
Dim value As Integer
value = instance.Find(connectorName, searchType, singleInstanceOnly, append)
|
Parameters
- connectorName
- Component name; can be the name of a fitting, cable, or wire; can include wild-card character (*)
- searchType
- Search type as defined by swRoutingSearchType_e
- singleInstanceOnly
- True to find a single instance of connectorName, false to find all instances of connectorName
- append
- True appends the selection to the selection list, false replaces the selection list with this selection
Return Value
Number of components found for connectorName
Example
See Also
Availability
SolidWorks Routing 2009 FCS