Instancing in usdskel

Following along to this page:
https://openusd.org/release/api/_usd_skel__instancing.html

The attached usd file loads fine but the skelAnimation is not bound to the instances of my skeleton.

Any ideas appreciated.

Cheers,

Martin
test5.usd (3.4 KB)

Hi @martinc , the only problem with your scene is that USD requires the “root prim” of every Skel-enabled model to have the schemas type SkelRoot. When I changed </Model>'s typeName to “SkelRoot”, then all three instances started to animate - instancing was actually a red herring here, as de-instancing would not have changed the behavior.

Cheers,
spiff

Hi Spiff,

Thanks for the reply!
I changed the line:
def Xform “Model” ( to
def SkelRoot “Model” (

Is that what you meant?
Still no animation :frowning:

Cheers,

Martin

Hi Spiff,

Just an update. Re-installed USD at the latest version and the above solution you provided is in fact working!

Sorry for the delay and thanks for the help!

Cheers,

Martin

That’s great to hear, Martin (and a relief :sweat_smile:)!