Defining Item Categories

From The Foundry MODO SDK wiki
Revision as of 15:57, 12 November 2013 by Jangell (Talk | contribs)

Jump to: navigation, search

When you create a new locator item type, you will want to categorize your item so it shows up in a useful place in the "Add Item" popup.

The item list uses the "itemtype:locator" category, so you can add your items with with own category in your resource file.

<atom type="Categories">
  <hash type="Category" key="itemtype:locator">
    <hash type="C" key="">short_name</hash>

This internal name is given a real name through the "itemtype:locator:category" message table:

<atom type="Messages">
  <hash type="Table" key="itemtype:locator:category.en_US">
    <hash type="T" key="short_name">Long name of new category</hash>

See Also