tpm_cleancomplete

AutoCAD Map 3D AutoLISP

Up a level
tpm_cleancomplete
 
 

Tests for groups to clean.

(tpm_cleancomplete clean_id)

Returns T if no more groups need cleaning or nil.

clean_id Model ID returned by tpm_cleanalloc.

You must call this function after tpm_cleangroupnext to determine if another group needs cleaning, because tpm_cleangroupnext does not provide this information.

You must usually execute several cleanup loops, because fixing one error sometimes causes others. After you process all the groups in the selection set, call tpm_cleanstart to return to the beginning, and then call tpm_cleancomplete to test if cleaning is complete. Repeat the loop until cleaning is complete.