Assigns the material to use during analysis to this component.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCosmosWorksMaterial( _
ByVal ConfigName As String, _
ByVal Type As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim ConfigName As String
Dim Type As Integer
Dim value As Boolean
value = instance.SetCosmosWorksMaterial(ConfigName, Type)
|
C++/CLI | |
---|
bool SetCosmosWorksMaterial(
& String^ ConfigName,
& int Type
) |
Parameters
- ConfigName
- Name of the configuration
- Type
- Type of material to assign as defined by swCosmosWorksMat
Return Value
True if the material is assigned, false if not
See Also
Availability
SolidWorks 2009 FCS, Revision Number 17.0