The function omni.replicator.core.modify.semantics is now working properly.
If I pass a single tuple like rep.modify.semantics([("class", "myclass")]) it works correctly and I can see the results when I render the semantic segmentation. But if I try to set more classes like rep.modify.semantics([("class", "myclass"), ("class2", "myotherclass")]) I can’t see the class2 when I render the semantic segmentation.
Moreover the doc at API — omni_replicator 1.6.4 documentation is wrong since it says Modify the orientation of the prims specified in input_prims to look at the specified target. and describe a not existing parameter target – The target to orient towards. If multiple prims are set, the target point will be the mean of their positions.