Description | |||||||||||
Erases a model and all the models that it uses, except those also used by other models in session. For example, it erases recursively all subassemblies of an assembly, and all solids referenced from a drawing. It also works in cases where some of the models to be erased have mutual dependencies. When erasing the active model, graphic display is cleared immediately, but data is not cleared until the next command gets processed.
NOTE: The erasing action caused by this function will be finished only after the execution control is returned to Creo Parametric. Therefore, calling other functions after this function without returning the control may lead to an unpredicted behavior. |
|||||||||||
Replacement in Object TOOLKIT: | pfcModel::EraseWithDependencies | ||||||||||
Synopsis | |||||||||||
#include <ProMdl.h> | |||||||||||
ProError | ProMdlEraseAll | ( | |||||||||
ProMdl model | |||||||||||
/* (In) | |||||||||||
The model to be erased | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|