Gets the mass properties from the specified document for the specified configuration.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim FilePathName As System.String
Dim ConfigurationName As System.String
Dim MPropsData As System.Double
Dim Accuracy As System.Integer
Dim value As System.Boolean
value = instance.IGetMassProperties2(FilePathName, ConfigurationName, MPropsData, Accuracy) |
Parameters
- FilePathName
Document path and file name
- ConfigurationName
Name of configuration to use
- MPropsData
Array of doubles
- Accuracy
-
0 = as is
-
1 = default
-
2 = maximum
Return Value
- in-process, unmanaged C++: Pointer to an array of doubles of size 13; last element is the accuracy at which mass properties are calculated
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