Gets the index of the part currently active in the device.
Returns the index of the currently active part referring to the entire device.