ArcFM Desktop Overview > ArcFM Solution Basics > Model Name Manager |
ArcFM utilizes model names to afford flexibility in your geodatabase design. A number of ArcFM components are designed to operate on certain feature classes, which are identified by a model name. For example, ArcFM provides a special autoupdate strategy (Special AU) that will create a relationship between a new feature and an existing adjacent structure feature. This sample special AU looks for features identified by the “STRUCTURE” model name. Similarly, model names are used to identify fields. For example, the model name "SYMBOLROTATION" will identify a field that will store an angle used for rotating that feature’s symbol in the map. Components, like autoupdaters or edit tasks, could be written to find fields identified by this model name so you don’t have to ‘hard-code’ your components to look for a specific field name.
ArcFM provides a set of programming tools that allow you to manage model names. These tools are contained in a class called MMModelNameManager. This class provides the IMMModelNameManager interface which allows you to search for, add, and delete model names in your geodatabase.
The code sample provided in this section gives an example of how the Model Name Manager may be used to return a feature class identified by a given model name.
Note: MMModelNameManager is a singleton object and must be instantiated manually.
Interface:
IMMModelNameManager
Class:
MMModelNameManager