Doing operation with Xform doesn't have any effect on X-forms and objects under that X-form

Duplicate and transform(moving/rotating/scale) with Xform doesn’t do any effect on X-forms or objects under that X-form. But this works in other scenes I made. I assume the things under X-forms were supposed to be kind of auto-parented to them right? Or am I missing something?

Hi @yuanmiaomiao1994. Your assumption is generally correct. Can you put a small sample scene together showing the problem?

1 Like

Here is what i did with the file:
1.I opened up the .usd file contains a crossroad model, I find another scene(straightroad) in content menu and right-click insert as sub-layers.
2. I moved the position of the inserted assets. and try to duplicate them, the problem is only the xforms were duplicated, no object was duplicated.
3. So i had to select each and every object and duplicate them, and move them under “straightroad_1” x-form–following the original structure.
4. When i try to move the duplicated xforms under the “straightroad_1” ,no effects had it make to those objects under those xforms, scale, rotation didn’t have effect either.
Here is the file:
3lane-crossroad-v2-errorrepr.usd (1.1 MB)

I only have a partial look since not all your USD layers are included. If you want to share everytthing, you can:

  1. “Collect Assets” on your root USD layer.
    image
  2. Zip up the folder that created.
  3. Share the zip.

Reading through your steps, one problem I see is that what you wanted to do is reference another USD asset and create multiple copies of it. See this video:

Also, have a look at this video about USD layers in Omniverse. It might help clear things up: Working with Layers & Deltas in Omniverse Create | Getting Started in NVIDIA Omniverse - YouTube

1 Like

I tried to collect assets and zip it, but it is still too big to upload. But I’ve got pretty much what I need. Thanks for this piece of info(the 2nd video), it helped me understand the layer module.
I realized that the ideal Ov-way to reference another file is like the video shows. Although the original issue is about solving the looks of the same material on two objects. Same material looks different on 2 objects(again maybe we should continue the discussion there)
I had the same material setting(geometry same dimension, material setting, under the same lighting environment) I referenced one USD into another one. and it looks different(the scale of texture and normals) I couldn’t get their appearance nearly same. And I couldn’t access the setting of the material of the assets of referenced usd scene. And thought I should kind of embed USD rather than reference them–that is how I find the insert-as-sublayer solution–so i could have more control of both material settings on two geometry and ensure they are exactly the same one. Only find out it doesn’t solve my issue.