Hi Peter
Can you check if all your rows have a spatial object?
I'm guessing the DTCreateAnnulus will fail if it hasn't been passed a spatial object for one of the rows.
If you are using MapInfo Pro v2019 or newer, you could add this condition to your Update statement: Where OBJ:
Update Sector_NR3600 Set OBJ = DTCreateAnnulus(OBJ, Bearing, 30, Radius, Bandwidth, 36, 2) Where OBJ
PS: I'm glad to see that function is useful
PPS: In an upcoming new version of DrawTools the function will be renamed to DTCreateAnnulusSector as I have realized that an annulus is in fact a whole doughnut.
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------