Sets the string value for the specified user preference.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetSimulationOptionStringValue( _
ByVal NUserPreferenceValue As System.Integer, _
ByVal StringVal As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ICWModelDoc
Dim NUserPreferenceValue As System.Integer
Dim StringVal As System.String
Dim value As System.Boolean
value = instance.SetSimulationOptionStringValue(NUserPreferenceValue, StringVal) |
Parameters
- NUserPreferenceValue
- User preference as defined by swsUserPreferenceStringValue_e
- StringVal
- String value
Return Value
True if option successfully set, false if not
Example
See Also
Availability
SolidWorks Simulation API 2014 SP0