Versions: 9.3.1 - current
Product Availability: ArcFM Desktop
Users can write special autoupdaters to perform a wide array of tasks such as writing out text files, updating records in a remote database, sending emails - just about anything that you would need to do programmatically in response to a feature/object event (create, update, or delete).
The special autoupdater in this example traces from a service point upstream to the transformer, then selects and zooms to the transformer.
How to Implement:
- You may modify the code sample. This step is not required.
- Build the solution sample.
- This autoupdater assumes a relationship exists between the Service Point and Transformer feature classes. Create this relationship if it doesn't already exist.
- In ArcCatalog, an administrator should assign this autoupdater (Trace to Xfr) to the On Feature Create event of the Service Point feature class.
All of the files shown below are required for the solution to build successfully.
|Miner.Samples.SpecialAU.csproj||C# project containing the code to generate a special autoupdater.|
|DownStreamSecondaryTracer.cs||Supporting class module|
|Junction.cs||Supporting class module|
|Junctions.cs||Supporting class module|
|PointDisplay.cs||Supporting class module|
|SecondaryTracer.cs||Supporting class module|
|SpecAUTraceToXfr.cs||Class module that implements IMMSpecialAUStrategy|
|TraceEventArgs.cs||Supporting class module|
|TraceException.cs||Supporting class module|
|UpStreamSecondaryTracer.cs||Supporting class module|
|AssemblyInfo.cs||Class module to support the tool.|