Description

method RegisterUserMeasurement

Return Type

None  

Syntax

object.RegisterUserMeasurement Name, McUserMeasureObject, [AllowedParent]

The RegisterUserMeasurement Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McApplication.
NameRequired. A String value.
McUserMeasureObjectRequired. An Unknown object.
AllowedParentOptional. A mcMeasurementParentAllowed enumeration, as described in settings.

Settings

The settings for AllowedParent 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