VEX Dictionary / usd_primvarlen
usd_primvarlen
Returns the array length of a primvar on a USD primitive, or 1 if it is scalar.
group: usdusdusd_primvar
Available in every context
Usage
int usd_primvarlen(<stage>; string primpath; string name)
int usd_primvarlen(<stage>; string primpath; string name; float timecode)
Examples
No worked examples yet.
Signatures (from vcc -X)
int usd_primvarlen(int, string, string)all contextsint usd_primvarlen(int, string, string, float)all contextsint usd_primvarlen(string, string, string)all contextsint usd_primvarlen(string, string, string, float)all contexts