ArcFM Desktop Overview > Designer Overview > Compatible Units > Managing CUs > Delete CUs |
This topic applies to Designer versions 10.0.3 and later.
To programmatically delete an existing CU in the library use the FindCu method on the CuLibrary class to identify the CU you wish to delete. This method requires the following properties in order to find the correct CU:
The FindCu method returns an ICompatibleUnit object that you can pass to the Delete method on the CuEditor class. The Delete method removes the corresponding IRow object that resides in the MM_CU_LIBRARY table in the geodatabase. It also removes the corresponding ICompatibleUnit object in the CU library.