Gets the value of the material property by the property name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetPropertyByName( _
ByVal NUnit As System.Integer, _
ByVal SName As System.String, _
ByRef BTempDependent As System.Integer _
) As System.Double |
Visual Basic (Usage) | |
---|
Dim instance As ICWMaterial
Dim NUnit As System.Integer
Dim SName As System.String
Dim BTempDependent As System.Integer
Dim value As System.Double
value = instance.GetPropertyByName(NUnit, SName, BTempDependent) |
C++/CLI | |
---|
System.double GetPropertyByName(
& System.int NUnit,
& System.String^ SName,
& [Out] System.int BTempDependent
) |
Parameters
- NUnit
Unit system as defined in swsUnitSystem_e
- SName
- Property name; for example, 'EX' for Elastic modulus, 'NUXY' for Poisson's ratio, etc.
- BTempDependent
Temperature dependency as defined in swsMaterialTemperature_e
Return Value
Value of material property
Example
See Also
Availability
SOLIDWORKS Simulation API 2008 SP1.0