What is the meaning of the MeasureOrganizer = {0} in the above code? I can't understand what it means because of the vague explanation in manuals and tutorials.
Is it B's rotation angle relative to A's x-axis?
Is it the angle of rotation of B's x-axis relative to A's x-axis?
Or the difference between the rotation angle of B around the x-axis of the global axis minus the angle of rotation of A around the x-axis of the global axis?
The MeasureOrganizer is a way of picking certain measures.
In your example above the AnyKinRotational has three measures a rotation a long the x,y,z axes.
These three measures will have the indices 0,1,2 in the measureorganizer. MeasureOrganizer = {0}; means to take the first measure only (i.e. the rotation along the x axes.)
If the measure organizer had looked something like this:
Then the measure organizer would have 6 measures - three rotations and three translations. MeasureOrganizer = {0}; would still be the x-rotation and MeasureOrganizer = {4}; would then be the x-translation.
The organizer is convenient when you need to make constraint, joints, drivers that are only supposed to work on a subset of the measures.