Concatenate a Property Name with a Prim Path

If you want to concatenate a property name with a Prim path, you can use Sdf.Path.AppendProperty <>. In this example, given Sdf.Path("/World/MyMesh") in mesh_prim_path, points_attr_path will contain Sdf.Path("/World/MyMesh.points").


# e.g., get path to "points" attribute on a mesh prim
from pxr import UsdGeom, Sdf

points_attr_path = mesh_prim_path.AppendProperty(UsdGeom.Tokens.points)