Sets the value of the material property by the property name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetPropertyByName( _
ByVal SName As System.String, _
ByVal DValue As System.Double, _
ByVal BValue As System.Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As ICWMaterial
Dim SName As System.String
Dim DValue As System.Double
Dim BValue As System.Integer
instance.SetPropertyByName(SName, DValue, BValue) |
C# | |
---|
void SetPropertyByName(
System.string SName,
System.double DValue,
System.int BValue
) |
C++/CLI | |
---|
void SetPropertyByName(
& System.String^ SName,
& System.double DValue,
& System.int BValue
) |
Parameters
- SName
Property name; for example, 'EX' for Elastic modulus, 'NUXY' for Poisson's ratio, etc.
- DValue
Value of material property
- BValue
Temperature dependency as defined in swsMaterialTemperature_e
Example
See Also
Availability
SolidWorks Simulation API 2008 SP1.0