Assigns the material to use during analysis to this part.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Sub SetCosmosWorksMaterial( _
ByVal ConfigName As String, _
ByVal Type As Integer _
) |
| Visual Basic (Usage) | |
|---|
Dim instance As IPartDoc
Dim ConfigName As String
Dim Type As Integer
instance.SetCosmosWorksMaterial(ConfigName, Type)
|
| C++/CLI | |
|---|
void 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