tpm_cleanend

Land Desktop Development ARX CPP SDK

Up a level
tpm_cleanend
 
 

Completes the cleanup process and updates the drawing.

int

tpm_cleanend(

ade_id clean_id);

Returns RTNORM or an error code.

clean_id The model ID returned by tpm_cleanalloc.

The function resets the cleanup model and updates the drawing. It fixes errors marked with the tpm_cleanerrorfix function. The model is still allocated. It is possible to call tpm_cleaninit using the same cleanup model ID.

Each error has some default method, which tpm_cleanend uses during error fixing. To change this method, use tpm_cleanerrorset.