Gets the actual mass property 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 IGetMassProperties( _
ByVal Accuracy As Integer, _
ByRef Status As Integer _
) As Double |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Accuracy As Integer
Dim Status As Integer
Dim value As Double
value = instance.IGetMassProperties(Accuracy, Status)
|
C++/CLI | |
---|
double IGetMassProperties(
& int Accuracy,
& [Out] 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
- in-process, unmanaged C++: Pointer to an array of size 13; the last element is the accuracy at which returned mass properties are calculated (see Remarks)
VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
Remarks
See Also
Availability
SolidWorks 2003 FCS, Revision Number 11.0