getItemViaPath Method

Given a path to an item in the Composition object hierarchy, returns the object in the hierarchy that represents that item.

The “pathType” parameter value specifies the “starting point” of the path, relative to this Delay. For Delays it can be any of the following values (case is not significant):

  • “Composition”

The path is relative to the Composition as a whole. (Therefore, the path must start with the name of a Band.)

  • “Band”

The path is relative to this Delay’s parent Band.

  • “Track”

The path is relative this Delay’s parent Track.

  • “MessageClip” or “Clip” (either one is accepted)

The path is relative this Delay’s parent Clip.

  • “Chain”

The path is relative to this Delay’s parent Chain.

  • “Group”

The path is relative to this Delay’s parent Group.

  • “Delay”

The path is relative to this Delay.

The “propertyPath” parameter contains a property path as specified for “In Situ Substitution Specifications” (see the separate document on ISSEs).

object getItemViaPath(string pathType, string path)