tpm_cleanerrorfix

AutoCAD Map 3D AutoLISP

Up a level
tpm_cleanerrorfix
 
 

Fixes the current error.

(tpm_cleanerrorfix clean_id)

Returns T or nil.

clean_id Model ID (real) returned by tpm_cleanalloc

This function marks the current error to fix. It fixes the errors in the cleanup model, but does not fix the drawing. The objects in the drawing are not fixed until you call tpm_cleanend.

Each error has a default method that tpm_cleanend uses during error fixing. You can use tpm_cleanerrorset to change this method. For example, the default method for the dangling node error is to erase the link. If you call tpm_cleanerrorset for this error, the dangling node is moved to a new position, but is not erased.