Sets the value of the material property by the property name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetPropertyByName( _
ByVal SName As String, _
ByVal DValue As Double, _
ByVal BValue As Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As ICWMaterial
Dim SName As String
Dim DValue As Double
Dim BValue As Integer
instance.SetPropertyByName(SName, DValue, 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