The Commands object contains all the Command objects in a measurement routine.
Use Commands(index) where index is the index number to return a single Command object.
For an example, see the example in GetReferencedFeature.