Skip to main content

I have a workbench that converts CAD drawings to GIS, writing to both a FGDB and SDE. SDE was recently upgraded to 11.4. This workbench has run just fine for the past 8-9 years, with enterprise and FME updates and upgrades happening over the years. Recently however, it continues to fail if I run it on all DWGs I need. Either to the FGDB or SDE, or isolated to either one. It processes all the drawings, and then I get this error at the end.

An error occurred while attempting to stop an edit operation. The error number from ArcObjects is: '-2147215975'. The error message from ArcObjects is: {The number of points is less than required for feature}

Trouble is, I can run it on the drawings in chunks. So I ran it on the drawings modified in the last 6 months. Ran and wrote just fine. I ran it on the drawings modified 6 months prior to that, ran and wrote just fine. Going back until I ran it eventually on all the drawings. It fails on all drawings whether I choose the DWGs individually or use a wildcard like *.dwg.

I have geometry checkers throughout the workbench that should address any geometry issues. I’ve updated to the latest FME, and updated all my readers, transformers and writers. And like I said it runs fine on let’s say 400 drawings, but all 650 seems to have a problem all of a sudden.

Hi,

If the DWG reader is successfully reading all features without any issues, it can be concluded that the problem is not related to the DWG reader. Based on the error description, the issue appears to be associated with the SDE writer.

One possible cause is that the features may be snapping during the write process to the SDE, potentially due to the tolerance settings configured in SDE.

Another potential cause is a mismatch in vertex count relative to the feature type definition. For instance, a point feature should contain exactly one vertex, whereas a line feature should have two or more vertices. It is recommended to implement a vertex-based validation check prior to writing the features.
 

Pratap


Reply