Modifies the equation at the specified index for the specified configurations.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetEquationAndConfigurationOption( _
ByVal Index As System.Integer, _
ByVal Equation As System.String, _
ByVal WhichConfigurations As System.Integer, _
ByVal ConfigNames As System.Object _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IEquationMgr
Dim Index As System.Integer
Dim Equation As System.String
Dim WhichConfigurations As System.Integer
Dim ConfigNames As System.Object
Dim value As System.Integer
value = instance.SetEquationAndConfigurationOption(Index, Equation, WhichConfigurations, ConfigNames) |
Parameters
- Index
- 0-based index of the equation to modify
- Equation
- String containing the modified equation (see Remarks)
- WhichConfigurations
- Configuration option as defined in swInConfigurationOpts_e
- ConfigNames
- Array of the names of the configurations to which to add this equation; valid only if WhichConfigurations is set to swInConfigurationOpts_e.swSpecifyConfiguration, in which case, include the name of the current configuration in this array
Return Value
Index of equation if successfully modified, -1 if error
Example
Remarks
See Also
Availability
SOLIDWORKS 2014 FCS, Revision Number 22.0