Some Attributes store array type data which are accessed using the VtArray classes. You can find a list of the VtArray classes in the Vt (Value Types) library module documentation.

If you need to manipulate the arrays using Python, it is advantageous to use Numpy to benefit from its speed and efficiency. These code samples show how you can convert between the VtArray objects and Numpy Array objects.

Note

These examples show how to convert using only the Vt.Vec3fArray class, but the same can be applied to any VtArray class. See what other VtArray classes exist in the USD Data Types documentation.