Gets the stock types for the specified material from the Costing template for this machining Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IGetStockTypes( _
ByVal MaterialClass As System.String, _
ByVal MaterialName As System.String, _
ByVal NumStockTypes As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICostAnalysisMachining
Dim MaterialClass As System.String
Dim MaterialName As System.String
Dim NumStockTypes As System.Integer
Dim value As System.Integer
value = instance.IGetStockTypes(MaterialClass, MaterialName, NumStockTypes) |
Parameters
- MaterialClass
- Name of the material class
- MaterialName
- Name of the material
- NumStockTypes
- Number of stock types defined for the specified material
Return Value
- in-process, unmanaged C++: Pointer to an array of integers of the stock types of the specified material as defined in swcStockType_e
- VBA, VB.NET, C#, and C++/CLI: Not supported
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0