Assigns the material to use during analysis to this component.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCosmosWorksMaterial( _
ByVal ConfigName As System.String, _
ByVal Type As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim ConfigName As System.String
Dim Type As System.Integer
Dim value As System.Boolean
value = instance.SetCosmosWorksMaterial(ConfigName, Type) |
C# | |
---|
System.bool SetCosmosWorksMaterial(
System.string ConfigName,
System.int Type
) |
C++/CLI | |
---|
System.bool SetCosmosWorksMaterial(
& System.String^ ConfigName,
& System.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