Gets the number of stock types for the specified material from the Costing template for this machining Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetStockTypeCount( _
ByVal MaterialClass As System.String, _
ByVal MaterialName As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICostAnalysisMachining
Dim MaterialClass As System.String
Dim MaterialName As System.String
Dim value As System.Integer
value = instance.GetStockTypeCount(MaterialClass, MaterialName) |
Parameters
- MaterialClass
- Name of the material class
- MaterialName
- Name of the material
Return Value
Number of stock types for the specified material
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0