Description

Enumerates registered user measurements.

Return Type

A Long value.  

[out, retval]

Syntax

object.EnumUserMeasurements (CookieNext, RegisteredName, RegisteredMcUserMeasureObject, RegisteredAllowedParent)

The EnumUserMeasurements Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McEngine.
CookieNextRequired. A Long value.

Initialize this to zero to start the enumeration or to get the number of user measurements registered.

RegisteredNameRequired. A String value.

The next measurement name is placed in this variable.

RegisteredMcUserMeasureObjectRequired. An Unknown object.

The next measurement McUserMeasure object instance is placed in this variable.

RegisteredAllowedParentRequired. A mcMeasurementParentAllowed enumeration, as described in settings.

THe next measurement's allowed parents enum is placed in this variable.

Settings

The settings for RegisteredAllowedParent are:

ConstantValueDescription
 mcmpaAnyParent0

mcmpAnyParent or mcmpaAnyParent. any parent is allowed

 mcmpaChildOfEngine1

an immediate child of McEngine

 mcmpaChildOfImages2

an immediate child of McEngine.Images (note the plural)

 mcmpaChildOfImage3

an immediate child of an McImage (note the singular)

 mcmpaChildOfLines4

an immediate child of an McLines

 mcmpaChildOfPoints5

an immediate child of an McPoints

 mcmpaChildOfRegions6

an immediate child of an McRegions

 mcmpaChildOfFeatures10

an immediate child of any McFeatures (an McPoints, McLines or McRegions)

 mcmpaChildOfRefFeatures11

an immediate child of McRefFeatures

 mcmpaDescendentOfFeatures12

an McFeatures descendent (descendended from an McPoints, McLines or McRegions)

 mcmpaDescendentOfImages13

any McEngine.Images descendent

 mcmpaDescendentOfImage14

any McImage descendent

 mcmpaNoParent20

no parent (i.e., global)

 mcmpaOtherParent21

some other parent type than ones listed