mkoneya

Append CAD Annotation to FeatureClass

Discussion created by mkoneya on Jul 6, 2010
We currently have an ArcObject console application which loads our CAD(.dgn) data to SDE.    This involves deleting the existing FeatureClass and then using the 'Import CAD Annotation' tool in a C# project as shown below to create a 'new' featureclass.

ESRI.ArcGIS.Geoprocessor.Geoprocessor GP = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();
ImportCADAnnotation impCADAnno = new ImportCADAnnotation();

impCADAnno.input_features = theDGNFile;
impCADAnno.output_featureclass = theString;
impCADAnno.reference_scale = refScale;
impCADAnno.use_levels = ClassLevels;

This works well, but I have to Kill and SDE connections to the Geodatabase with SDEMon and stop our ArcGIS Server Services in order to delete the featureclass.

I would like to use the same process that we are using with Non-Annotation features which is to delete the features and then append the features from either .shp or .dgn files.

I don't see any equivalent tools for dealing with Annotation.

Any suggestions on how to Delete and Append Annotatin without having to Kill services?

Thanks,

Mele

Outcomes