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