|
ExtensionGetModelMass Method
|
Returns the mass and the unit of the mass for the specified model.
Namespace:
CADSharpTools.SOLIDWORKS
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic static KeyValuePair<double, swUnitsMassPropMass_e> GetModelMass(
this ModelDoc2 model
)
<ExtensionAttribute>
Public Shared Function GetModelMass (
model As ModelDoc2
) As KeyValuePair(Of Double, swUnitsMassPropMass_e)
Parameters
- model
- Type: ModelDoc2
Model object.
Return Value
Type:
KeyValuePairDouble,
swUnitsMassPropMass_eModel
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ModelDoc2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also