![]() ![]() The argument to registerTool will be described later. In order to create a tool, there is only one function call to do. However, developers canĬreate a custom toolbar that can trigger the activation of their tools or their custom actions. Currently, there is no way to add the tool in the existing toolbar items. A tool created using scripting will add an entry in the Drawing->Drawing Tools orĪnimation->Tools menu depending on its type. There are two types of tool: Drawing Tools and Scene Planning tools. Otherwise, they can justĬreate an action that, for example, pops up a dialog asking for some parameters and an apply button. If the answer to at least one of the first two of these questions is yes, then they should go for a tool creation. Are there some settings that the function needs to take in argument to tailor its behaviour?.Should the function display some sort of preview of what will be modified in the scene or drawing?.Does the function need a mouse or tablet input to work properly?. ![]() ![]() So, when the script developers wonder if the function they want to create should be an action or a tool, they just have to ask themself: Last, it can display an overlay on top of the drawing or camera Second, it can show its settings in the Tool Properties View. First, it can capture mouse or tablet interactionsįrom the user. ![]() DefinitionĪ tool has many characteristics that make it different from a regular function or action. This tutorial explains how to create a tool for Harmony from scratch using javascript. Tutorial: Creating a Tool Creating a Tool ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |