Gets the specified Factor Of Safety constraint for this topology study.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetFactorOfSafetyConstraint( _
ByVal SConstraintName As System.String, _
ByRef ErrorCode As System.Integer _
) As CWTopologyFactorOfSafetyConstraint |
Visual Basic (Usage) | |
---|
Dim instance As ICWTopologyStudyManager
Dim SConstraintName As System.String
Dim ErrorCode As System.Integer
Dim value As CWTopologyFactorOfSafetyConstraint
value = instance.GetFactorOfSafetyConstraint(SConstraintName, ErrorCode) |
C# | |
---|
CWTopologyFactorOfSafetyConstraint GetFactorOfSafetyConstraint(
System.string SConstraintName,
out System.int ErrorCode
) |
C++/CLI | |
---|
CWTopologyFactorOfSafetyConstraint^ GetFactorOfSafetyConstraint(
& System.String^ SConstraintName,
& [Out] System.int ErrorCode
) |
Parameters
- SConstraintName
- Name of the Factory Of Safety constraint to retrieve
- ErrorCode
- Result code as defined in swsTopologyStudyError_e
Return Value
ICWTopologyFactorOfSafetyConstraint; null if failure
Example
See Also
Availability
SOLIDWORKS Simulation API 2019 SP0