Unable to randomize objects inside another hierarchy

Hi,
As part of a project, I’m trying to move positions, rotations of a mesh that is part of a larger mesh. I cannot apply pose changes or even get the camera to look at the sub-item.

Been having some problems with using ‘look_at’ for anything other than a top level xform object. In the example below when I focus on the worker object (in tutorial worker example) the camera changes rotation appropriately but when I show a sub-item like the ‘baseball_cap’ , it doesn’t seem to work. Anyone has any ideas?

baseball_cap = rep.get.prims(path_pattern="/Replicator/Ref_03/ManRoot/Worker/Baseball_cap")
main_prim = rep.get.prims(path_pattern="/Replicator/Ref_01")

with rep.trigger.on_frame(num_frames=10000):
    rep.randomizer.env_props(75)
    rep.randomizer.worker()
    with camera: 
        # this works, camera focusses on main_prim
        rep.modify.pose(position=rep.distribution.uniform((-50, 200, 50), (500, 500, 50)), look_at=main_prim)
        # the following does not work
        rep.modify.pose(position=rep.distribution.uniform((-50, 200, 50), (500, 500, 50)), look_at=baseball_cap)

Hello @paudyalprajwal! I’ve reached out to the development team for some help here. I will post back when I have some information to share!