Adding Custom Attributes to Objects
| 1. | Start Mari and open your project. |
| 2. | Open a palette where you want to add custom attributes (for example, the Channels, Objects, or Projectors palette). |
| 3. | Select the object you want to add custom attributes to and click the |
The Add User Attribute dialog displays.
| 4. | Set the following: |
• Type - whether the attribute's value is an on/off setting (Boolean), a date (Date), a floating point number (Float), an integer number (Integer), or a text string (String).
• Name - the name of the attribute. Unless you uncheck Visible below, this name appears under User Attributes in the palette (in the below example, the name is MyAttribute). Note that the name should only include alphanumeric characters and cannot include spaces.
• Description - an optional description of the attribute. This appears in a tooltip if you hover the mouse over the attribute in the palette.
• Saved - if this is on, the attribute persists when you quit and relaunch Mari. If this is off, the attribute is only added to the current session of Mari.
• Read Only - if this is on, users cannot modify the attribute's value. If this is off, the value is shown in the palette where users can adjust it.
• Visible - if this is on, the attribute appears in the palette. If this is off, you cannot see the attribute.
Note: The above settings cannot be edited later. If you want to change them, you need to remove the attribute and create a new one.
| 5. | Click Add. |
| 6. | If necessary, edit the attribute's value in the palette. |