pxr.Usd.References.RemoveReference
Removes the specified reference from the references listOp at the current EditTarget.
This does not necessarily eliminate the reference completely, as it may be added or set in another layer in the same LayerStack as the current EditTarget.
Args
Return
bool
Examples
code:py
from pxr import Sdf, Usd
stage = Usd.Stage.CreateNew("foo.usda")
foo: Usd.Prim = stage.DefinePrim("/foo", "Xform")
refs: Usd.References = foo.GetReferences()
refs.RemoveReference(Sdf.Reference("/bar"))
code:usda
def Xform "hello" (
delete references = @/bar@
)
{
}