Sets the units of mass for this topology study mass constraint.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetUnit( _
ByVal NUnit As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWTopologyMassConstraint
Dim NUnit As System.Integer
Dim value As System.Integer
value = instance.SetUnit(NUnit) |
C# | |
---|
System.int SetUnit(
System.int NUnit
) |
C++/CLI | |
---|
System.int SetUnit(
& System.int NUnit
) |
Parameters
- NUnit
- Units of mass as defined in swsMassUnits_e (see Remarks)
Return Value
Result code as defined in
swsTopologyStudy_MassConstraintErrors_e
Example
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2019 SP0