pxr.UsdGeom.PrimvarsAPI.CreatePrimvar
pxr.UsdGeom.PrimvarsAPI method
Author scene description to create an attribute on this prim that will be recognized as Primvar (i.e. will present as a valid pxr.UsdGeom.Primvar).
Universal Scene Description: UsdGeomPrimvarsAPI Class Reference
Returns
pxr.UsdGeom.Primvar