After selecting all kinds of objects I’d like to get the polylines and return the length and radius in the polyline (if it contains curves). My model works for some drawings, but sometimes it returns a null when asking for the geometry (number 44 in the list), which causes problems later on.
The error is that points are likely coincident. I don’t know how to fix this, I’ve already tried overkill and changing the geometry scaling.
By “changing the geometry scaling” do you mean changing it from medium? If so, then it should be left at medium, otherwise issues like this can happen.
Potentially, yes, but it’s impossible to say at this point. The first step would be to identify those lines and determine why they’re returning null geometry. It may be that they can be safely ignored. It may be that you need to collect those specific geometries another way.
I had the same error message the other day. For some reason making a copy of the polylines and using “CONVERTPLINES” to change the copy into 3d polylines fixed the issue. I am unsure why.
I’ve found another solution without having to convert it to a 3d polyline.
By using MAPCLEAN and selecting Delete duplicates, Simplify Objects, Zero Length Objects and Erase Dangling Objects the problem seems to be solved.