Licenses Class

From TouchDesigner 099 Wiki

The Licenses class describes the set of all installed license objects. It can be accessed with the licenses object, , found in the automatically imported td module.


disablePro When True, the application will run as though no Pro licenses are available. This can be used to test compatibility with lesser licenses.
type (Read Only) The highest ranking license type of all installed licenses, some products being 'Pro', 'Non-Commercial', 'Commercial'. See also app.product in App Class.
machine (Read Only) The computer machine name.
systemCode (Read Only) The unique computer system code.



Install a license with the specified key. Returns True if successful.

Special Functions


Returns the total number of installed licenses.
   a = len(licenses)


Get specific license given an integer index.
   n = licenses[0]


Iterate over each licenses.
   for m in licenses: