Versions: 9.3.1 - current
Product Availability: ArcFM Desktop
This developer sample provides two special autoupdaters that add or update phase designation on the duct connector.
- ArcFM Update Duct Connector Phase: This special autoupdater updates the phase designation on the duct connector when an associated conductor is edited. Assign this AU to the On Feature Update event on a conductor feature class (with the ULSMember model name assigned).
- ArcFM UFM Populate Duct Connector: This special autoupdater adds the phase designation to a duct connector when it is created or edited. It retrieves the phase designation from the associated conductor. Assign this AU to the On Feature Create and On Feature Update events of the duct connector feature class.
How to Implement:
- You may modify the code sample. This step is not required.
- Compile the code sample.
How to Use:
- Assign the autoupdaters using the ArcFM Properties Manager (Object Info tab) in ArcCatalog.
All of the files shown below are required for the project to compile successfully.
|UpdateDuctLabels.csproj||C# project containing the code to|
|UpdateDuctConnectorPhaseAU.cs||Class for a special autoupdater that updates phase designation on a duct connector when an associated conductor is edited.|
|UFMPopulateDuctConnectorAU.cs||Class for a special autoupdater that adds phase designation to a duct connector when it's created or updated.|
|AssemblyInfo.cs||Class module to support the tool|
|Global.cs||Class module that contains global values|