I'm writing a basic AutoLISP applications to create & query a topology made of line segments. No problems with building, loading, opening, running queries, etc. But if I break a line segment using straight AutoCAD command then I get an error "Duplicated topology ID number" when I try to load the topology. How can I detect & fix this issue before loading/opening a topology, or am I limited to a erase & rebuild thus losing key resistance and direction properties?
Windows 10 - AutoCAD Map 3D 2020