import omni.kit.commands # 人形アセットをコピー omni.kit.commands.execute( 'CopyPrimCommand', path_from='/World/figure', path_to='/World/figure_01' ) omni.kit.commands.execute( 'CopyPrimCommand', path_from='/World/figure', path_to='/World/figure_02' ) # コピーしたアセット達が重なっていてわかりづらいので位置をずらす with rep.get.prim_at_path('/World/figure_01'): rep.modify.attribute('xformOp:translate', value=(-0.5, 0.0, 0.0)) with rep.get.prim_at_path('/World/figure_02'): rep.modify.attribute('xformOp:translate', value=(0.5, 0.0, 0.0))