Gets the number of components, the item number, and the part number in the specified row for the specified configuration in this BOM table annotation.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponentsCount2( _
ByVal RowIndex As System.Integer, _
ByVal Configuration As System.String, _
ByRef ItemNumber As System.String, _
ByRef PartNumber As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IBomTableAnnotation
Dim RowIndex As System.Integer
Dim Configuration As System.String
Dim ItemNumber As System.String
Dim PartNumber As System.String
Dim value As System.Integer
value = instance.GetComponentsCount2(RowIndex, Configuration, ItemNumber, PartNumber) |
Parameters
- RowIndex
- Row in the BOM table where to get the number of components; 0-based index
- Configuration
- Configuration for which to count components in top-level only BOMs; specify an empty string for parts only and indented BOMs
- ItemNumber
- Item number of the specified row
- PartNumber
- Part number of the specified row
Return Value
Number of components in the specified row for the specified configuration
Example
Remarks
See Also
Availability
SOLIDWORKS 2011 SP03 , Revision Number 19.3