This shows you the differences between two versions of the page.
rhino:mac:uniqueui:walkabout:addmacros [2019/11/01] |
rhino:mac:uniqueui:walkabout:addmacros [2020/08/14] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Adding new macros to the Walkabout toolbar. ==== | ||
+ | |||
+ | Before you can modify or add a tool palette you will need to create a Custom Command Set with a Custom (or Modified) Command Set... | ||
+ | |||
+ | 1. Navigate to **Rhinoceros** > **Preferences** > **Commands**... | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | 2. Click the **Customize** button... | ||
+ | |||
+ | 3. The **Command Editor** should open. Notice that the **Default Command Set** is **Read-Only**. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | 4. You will need to select **Duplicate** to make an **editable copy** of the **Default Command Set**... | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Next, locate the WalkAbout tool palette and highlight it. | ||
+ | |||
+ | To get the icon onto the button, locate the relevant image in the {{: | ||
+ | |||
+ | }} | ||
+ | {{: | ||
+ | |||
+ | Add a new button to the tool palette - | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Select that new button and doube-click over on the right side. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This will enable the editing of the button - | ||
+ | |||
+ | | ||
+ | |||
+ | Get the icon for the new button - locate the relevant image file in the {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Then, copy the relevant macro with the python code from the wiki. We're using Elevator Up here as an example- | ||
+ | |||
+ | {{: | ||
+ | |||
+ | And paste that text into the ' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | That will be it for that button. Repeat the process to get the rest of the new buttons in place. For the StepSize, you'll need to create a new palette and populate it with the provided macros and icons. | ||
+ | |||
+ | {{: | ||