Custom Features


The CASE tools allow you to create custom features that extend the data model of ArcInfo 8. Object-oriented design tools (OOA&D) can be used to create object models that represent the design of your custom features. These tools make use of the UML to create designs. Based on these models the CASE tools will help you create Component Object Model (COM) classes that implement the behavior of the custom features and database schemas in which custom feature properties are maintained.

The CASE tools consist of two major activities: code generation and schema generation. The former is used to create the behavior, while the latter is used to create schemas in geodatabases. In this tutorial you'll create an object model with custom features, create code adding custom behavior, and create a geodatabase schema.

How to use:
  1. Create a new directory. For example C:\Temp\Tutorial.
  2. Copy all the contents of the Custom Features directory to the new directory.
  3. Click here to open the tutorial and follow the steps.


Difficulty: Advanced

Visual C++
File Description
CASE Tools Tutorial 81 v2.pdf Tutorial that will guide you through the creation of custom features and geodatabase schemas using the CASE tools.
Source Directory where code will be created. Already contains files with helper functions.
Solution Files resulting from following the tutorial.
Repository.mdb Empty Repository to store the tutorial object model.
SampleDB Geodatabase with data for the tutorial.

Key CoClasses: Object, Feature
Key Interfaces: IRelatedObjectClassEvents, IObjectClassValidation, IRelatedObjectEvents.
Key Members: IObjectClassValidation::ValidateRow, IRelatedObjectEvents::RelatedObjectChanged, IRelatedObjectEvents::RelatedObjectSetMoved, IRelatedObjectClassEvents::RelatedObjectCreated