[InDesign JavaScript] フレームは残しつつ中の画像やテキストを削除

//画像の削除の場合
var Obj = app.activeDocument.selection[0].graphics[0];
Obj.remove();

//テキストストーリーの削除の場合
var myStory = app.activeDocument.selection[0].parentStory;
myStory.remove();