get attr

Summary

Gets an asset's attribute(s).

Arguments

  • asset - The numerical ID of the asset.
  • key - The attribute name or a list of names.

Returns

The value of the attribute(s) requested.

Examples

> get attr { asset 1 key xres }
1920
> get attr { asset 1 key { xres yres } }
1920 1080