I want to ask if someone knows which is the process to add a Schema to one primitive using Python and the PXR module? I'm trying to do a "translator" of USD lights from C4D to Houdini and I want to try to assign the "ShapingAPI" schema to the Spot Light to have the correct viewport guide representation:
I saw that this is how it looks on the usd file:
prepend apiSchemas = ["ShapingAPI"]
Also it would be interesting to apply the "CollectionAPI:lightLink" schema to translate the light linking data too, but let's see if the ShapingAPI can be done first :P
Thanks a lot!