pmx_position_by_element-class function

PMX position by element class.