Adds the specified optimization goal to this topology study.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateGoal( _
ByVal NGoalType As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWTopologyStudyManager
Dim NGoalType As System.Integer
Dim value As System.Integer
value = instance.CreateGoal(NGoalType) |
C# | |
---|
System.int CreateGoal(
System.int NGoalType
) |
C++/CLI | |
---|
System.int CreateGoal(
& System.int NGoalType
) |
Parameters
- NGoalType
- Type of optimization goal to create as defined in swsTopologyStudyGoalType_e
Return Value
Result code as defined in
swsTopologyStudyError_e
Example
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2019 SP0