Last week, I submitted a post on how to create a new model with custom attribution and categories. I wanted to get out something that you could use to get started. At the time, I was unable to revise the part of the schema XML file that allows you to add categories and pretty names to make your new attributes and classes appear more attractive in the interface.
Now let's take a look at a new version of sample Galileo schema definition XML file that I've updated to add some more descriptive categories and attribute names. There are two major types of changes that I've made.
The first change was to insert new <Item> elements in the <Display> section that represent the new classes that I might use for categorizing assets according to whether buildings will be in my study area or whether they will not.
(Click to enlarge images.)
Then I add additional <Item> elements further down the <Display> section that are used to add descriptive names to the new custom attributes that I defined and that assign the attributes to a category. Note that the "priority" attribute identifies the display order of the attributes in the interface (lowest to highest).
After I create a new model with the revised schema, you can see that the display of the new attributes in the attribute mapping interface is now a bit more user friendly:
The new building classes are now individually categorized in the Model Explorer:
Also, you see that the Property Inspector now has a more descriptive representation of the attributes:
This completes the process for adding in custom classes and attributes. I hope you've found this helpful!
Subscribe
Comments