![]() In this new folder, create a file named configure.js that defines and export a function named configure.įunction configure(packageFolder, packageName).Inside the created packages folder, create a folder named after your package.Create a folder named packages in your script preference folder or create an empty folder somewhere on your hard drive and define the preference: TB_EXTERNAL_SCRIPT_PACKAGES_FOLDER to point to that folder.The loaded script drawing tools will be found under Drawing -> Drawing Tools -> "name-of-the-tool" Creating a Package The loaded script toolbar packages will be found in the Toolbars menu under the "Custom Tools" entry. To use the examples, copy their folder in the script user preferenceįolder or in at the located defined by TB_EXTERNAL_SCRIPT_PACKAGES_FOLDER. The TB_EXTERNAL_SCRIPT_PACKAGES_FOLDER preference is a list of semicolon ( ) separated folders on Windows and colon (:) separated folder on macOS and Linux.Įxamples of tools, toolbars and views can be found in "Plugins/ScriptingInterfaces/resources/beta-packages". ![]() It is always scanned for packages and its packages are loaded. The system packages folder is located in the installation folder under Plugins/ScriptingInterfaces/resources/packages. User's home in the folder: "Library/Preferences/Toon\ Boom\ Animation/Toon\ Boom\ Harmony\ Premium/2100-scripts/packages". The users script package folder is located in the user's preferences and is different on every platform. A location defined by the TB_EXTERNAL_SCRIPT_PACKAGES_FOLDER preference.Ex: C:\Program Files (x86)\Toon Boom Animation\Toon Boom Harmony 21 Premium\Plugins\ScriptingInterfaces\resources\packages ![]() The "packages" folder from the Harmony installation folder.Ex: C:\Users\ \AppData\Roaming\Toon Boom Animation\Toon Boom Harmony Premium\2100-scripts\packages The "packages" folder is located in the scripts folder. The "packages" folder from the preferences. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |