Gets the actual mass properties of the components in the model at the specified accuracy.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetMassProperties2( _
ByVal Accuracy As System.Integer, _
ByRef Status As System.Integer, _
ByVal UseSelected As System.Boolean _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Accuracy As System.Integer
Dim Status As System.Integer
Dim UseSelected As System.Boolean
Dim value As System.Object
value = instance.GetMassProperties2(Accuracy, Status, UseSelected) |
Parameters
- Accuracy
-
0 = as is
-
1 = default
-
2 = maximum
- Status
- Error code as defined in swMassPropertiesStatus_e
- UseSelected
- True to return the mass properties of the selected components only, false to return the mass properties of the entire model, excluding suppressed components
Return Value
Array of size 12 (see
Remarks)
Example
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0