Gets the actual mass properties of the model at the specified accuracy, that is, of all of the existing bodies regardless of whether they are hidden or shown.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetMassProperties( _
ByVal Accuracy As System.Integer, _
ByRef Status As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Accuracy As System.Integer
Dim Status As System.Integer
Dim value As System.Object
value = instance.GetMassProperties(Accuracy, Status) |
C# | |
---|
System.object GetMassProperties(
System.int Accuracy,
out System.int Status
) |
C++/CLI | |
---|
System.Object^ GetMassProperties(
& System.int Accuracy,
& [Out] System.int Status
) |
Parameters
- Accuracy
-
0 = as is
-
1 = default
-
2 = maximum
- Status
Status of the mass property results as defined in swMassPropertiesStatus_e
Return Value
Array of size 13; the last element is the accuracy at which returned mass properties are calculated
Example
Remarks
See Also
Availability
SolidWorks 2003 FCS, Revision Number 11.0