How to perform projection mapping onto arbitrary assets

Hi, experts.

I am referring to the link below, but I am unable to perform projection mapping on any arbitrary asset.
Replicator Materials — Omniverse Extensions latest documentation (nvidia.com)

from pxr import Usd, UsdGeom
from pathlib import Path
import omni.usd
import omni.replicator.core as rep

# Axis and unitscale can also be set optionally
# rep.settings.set_stage_up_axis("Z")
# rep.settings.set_stage_meters_per_unit(1.0)

# Create Camera
camera = rep.create.camera(position=(0, 280, 310), rotation=(-45, 0, 0))
stage = omni.usd.get_context().get_stage()

# Retrieve a reference to a plane using rep.get.prims
plane = rep.get.prims(path_pattern="table_low", prim_types="mesh")

# Create a cube with specified properties
cube = rep.create.cube(visible=False, semantics=[('class', 'cube')], position=(50, 100, 0), rotation=(0, 0, 90), scale=(0.2, 0.2, 0.2))
sem = [('class', 'shape')]

# Randomizer for scattering
def get_shapes():
    shapes = rep.get.prims(semantics=[('class', 'cube')])
    with shapes:
        rep.randomizer.scatter_2d(plane)
    return shapes.node

rep.randomizer.register(get_shapes)

# Create the projection with the plane as the target
with plane:
    proj1 = rep.create.projection_material(cube, sem)

# Modify the cube position, and update the projection
with rep.trigger.on_frame(num_frames=30):
    rep.randomizer.get_shapes()
    with proj1:
        rep.modify.projection_material(diffuse=Path(rep.example.TEXTURES_DIR).joinpath("smiley_albedo.png").as_posix())

I want to perform projection mapping on “table_low” in simpleroom, but it is not functioning correctly. Could you please point out any improvements in the following code?
I am executing the code after opening the spatial asset of simpleroom initially.
simpleroom URL: omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.1/Isaac/Environments/Simple_Room/simple_room.usd

Hi,experts.

I’d appreciate it if you could give me an update on the situation.

I appreciate your busy schedule, but may I inquire if there are any updates?

I appreciate your busy schedule, but may I inquire if there are any updates?

Hi experts, the following is the error message.

2024-01-19 05:42:29  [Warning] [omni.usd] Hydra engine rtx transitioning from async (/app/runLoops/rendering_0) to synchronous rendering
2024-01-19 05:42:50  [Warning] [omni.usd] Hydra engine rtx transitioning from async (/app/runLoops/rendering_0) to synchronous rendering
2024-01-19 05:42:50  [Warning] [omni.usd] Warning: in SdfPath at line 81 of /buildAgent/work/ac88d7d902b57417/USD/pxr/usd/sdf/path.cpp -- Ill-formed SdfPath </home/nvidia/.local/share/ov/pkg/deps/8021e278fce7781f5bb307a5b4b24ed4/extscache/omni.replicator.core-1.9.8+105.0.lx64.r.cp310/omni/replicator/core/scripts/data/textures/smiley_albedo.png>: syntax error
2024-01-19 05:42:50  [Warning] [omni.usd] 
2024-01-19 05:42:50  [Warning] [omni.replicator.core.scripts.backends.log] [tid 140264872125696][backends][disk.py] No root directory specified in carb setting `/omni/replicator/backends/disk/root_dir`. Writing data to /home/nvidia/omni.replicator_out/out_projection_material
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin] /Replicator/SDGPipeline/OgnCreateProjectionMaterial: Assertion raised in compute - 
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin] 	Error in 'pxrInternal_v0_22__pxrReserved__::UsdStage::_SetValueImpl' at line 6174 in file /buildAgent/work/ac88d7d902b57417/USD/pxr/usd/usd/stage.cpp : 'Empty typeName for </Projection/table_low_Cube_Xform.xformOp:translate>'
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin]   File "/home/nvidia/.local/share/ov/pkg/deps/8021e278fce7781f5bb307a5b4b24ed4/extscache/omni.replicator.core-1.9.8+105.0.lx64.r.cp310/omni/replicator/core/ogn/python/_impl/nodes/OgnCreateProjectionMaterial.py", line 264, in compute
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin]     projection_prim = _duplicate_target(target_prim, projection_path)
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin]   File "/home/nvidia/.local/share/ov/pkg/deps/8021e278fce7781f5bb307a5b4b24ed4/extscache/omni.replicator.core-1.9.8+105.0.lx64.r.cp310/omni/replicator/core/ogn/python/_impl/nodes/OgnCreateProjectionMaterial.py", line 176, in _duplicate_target
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin]     projection_prim.GetAttribute("xformOp:translate").Set(Gf.Vec3d(0, 0, 0))
2024-01-19 05:42:50  [Error] [omni.graph.core.plugin] 

Hey, happened to have the same issue. Any updates? @nvidia_user ?