Q1: Can I also use this card's On Play When Digivolving effect to delete my Digimon?
Yes, you can delete a Digimon.
Q2: Can I use this card's inherited effect to switch the target of attack to a Digimon that isn't affected by effects?
Yes, you can.
Lv.6 Machinedramon BT19-065 U Mega | Virus | Machine [On Play] [When Digivolving] Delete 1 level 5 or lower Digimon. [On Deletion] You may play 1 level 5 or lower Digimon card with the [Cyborg] or [Composite] trait from your trash without paying the cost. (Rule) Trait: Has [Composite] Type. DigiXros -1: 5 Lv.5 or lower [Cyborg]/[Composite] trait Digimon cards w/different card numbers --- Inherited: [Opponent's Turn] [Once Per Turn] When any of your opponent's Digimon attack, you may change the attack target to 1 of your Digimon with the [Composite] or [Wicked God] trait.
Lv.6 Machinedramon BT19-065 U Mega | Virus | Machine [On Play] [When Digivolving] Delete 1 level 5 or lower Digimon. [On Deletion] You may play 1 level 5 or lower Digimon card with the [Cyborg] or [Composite] trait from your trash without paying the cost. (Rule) Trait: Has [Composite] Type. DigiXros -1: 5 Lv.5 or lower [Cyborg]/[Composite] trait Digimon cards w/different card numbers --- Inherited: [Opponent's Turn] [Once Per Turn] When any of your opponent's Digimon attack, you may change the attack target to 1 of your Digimon with the [Composite] or [Wicked God] trait.
Lv.6 Machinedramon BT19-065 U Mega | Virus | Machine [On Play] [When Digivolving] Delete 1 level 5 or lower Digimon. [On Deletion] You may play 1 level 5 or lower Digimon card with the [Cyborg] or [Composite] trait from your trash without paying the cost. DigiXros -1: 5 Lv.5 or lower [Cyborg] or [Composite] trait Digimon cards w/different card numbers --- Inherited: [Opponent's Turn] [Once Per Turn] When any of your opponent's Digimon attack, you may change the attack target to 1 of your Digimon with the [Composite] or [Wicked God] trait.
Lv.6 ムゲンドラモン BT19-065 U 究極体 | ウィルス種 | マシーン型 【登場時】【進化時】Lv.5以下のデジモン1体を消滅させる。 【消滅時】自分のトラッシュから、特徴に「サイボーグ型」/「合成型」を持つLv.5以下のデジモンカード1枚をコストを支払わずに登場できる。 〈ルール〉特徴:タイプ「合成型」を持つ。 カードナンバーの異なる特徴に「サイボーグ型」/「合成型」を持つLv.5以下のデジモンカード5枚 --- Inherited: 【相手のターン】[ターンに1回]相手のデジモンがアタックしたとき、アタックの対象を特徴に「合成型」/「邪神型」を持つ自分のデジモン1体に変更できる。