Click or drag to resize

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)
Syntax
public static KeyValuePair<double, swUnitsMassPropMass_e> GetModelMass(
	this ModelDoc2 model
)

Parameters

model
Type: ModelDoc2
Model object.

Return Value

Type: KeyValuePairDouble, swUnitsMassPropMass_e
Model

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