Finds the number of specified components in the assembly document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAdvancedRouteSelector
Dim connectorName As System.String
Dim searchType As System.Integer
Dim singleInstanceOnly As System.Boolean
Dim append As System.Boolean
Dim value As System.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