Adds an equation at the specified index for the specified configurations.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function Add3( _
ByVal Index As System.Integer, _
ByVal Equation As System.String, _
ByVal Solve As System.Boolean, _
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 Solve As System.Boolean
Dim WhichConfigurations As System.Integer
Dim ConfigNames As System.Object
Dim value As System.Integer
value = instance.Add3(Index, Equation, Solve, WhichConfigurations, ConfigNames) |
Parameters
- Index
- Index of the new equation (-1 places it at the end of the list)
- Equation
- String containing the equation (see Remarks)
- Solve
- True to solve the equation immediately; false to solve later (see Remarks)
- WhichConfigurations
- Configuration option as defined in swInConfigurationOpts_e (see Remarks)
- 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 the new equation if successfully added, -1 if error
Example
Remarks
See Also
Availability
SolidWorks 2014 FCS, Revision Number 22.0