Gets the stock types for the specified material from the Costing template for this machining Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetStockTypes( _
ByVal MaterialClass As System.String, _
ByVal MaterialName As System.String _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ICostAnalysisMachining
Dim MaterialClass As System.String
Dim MaterialName As System.String
Dim value As System.Object
value = instance.GetStockTypes(MaterialClass, MaterialName) |
Parameters
- MaterialClass
- Name of the material class
- MaterialName
- Name of the material
Return Value
Array of integers, or longs if using VBA, of the stock types of the specified material as defined in
swcStockType_e
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0