Generate Resourse By cube