Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class MeaureAPI

Last update: 09.03.2026

Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll

This class implements APIs for measure.

public static class MeaureAPI

Inheritance

object ← MeaureAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

GetMass(SubSystemDocument, IEnumerable<Obj>, out double, out double[])

Get mass information given .

[NotNull(new string[] { "subSystemDocument", "objs" })]
public static void GetMass(this SubSystemDocument subSystemDocument, IEnumerable<Obj> objs, out double mass, out double[] inertia)

Parameters

subSystemDocument SubSystemDocument

The document to get mass.

objs IEnumerable<Obj>

The collection of to get mass.

mass double

The total mass.

inertia double[]

The total inertia.

Exceptions

ArgumentNullException

Will be thrown when the collection of objects is null.

GetMass(SubSystemDocument, IEnumerable<Obj>, TMatrix, out double, out double[])

Get mass information given .

[NotNull(new string[] { "subSystemDocument", "objs" })]
public static void GetMass(this SubSystemDocument subSystemDocument, IEnumerable<Obj> objs, TMatrix transform, out double mass, out double[] inertia)

Parameters

subSystemDocument SubSystemDocument

The document to get mass.

objs IEnumerable<Obj>

The collection of to get mass.

transform TMatrix

The transform.

mass double

The total mass.

inertia double[]

The total inertia.

Exceptions

ArgumentNullException

Will be thrown when the collection of objects is null.

Connect with Ansys