When we are working with model files, we always encounter the removal of the memory environment. A clean Creo working environment is the guarantee that the work can be completed smoothly.
The promdlerasenotdisplayed () function provides the ability to clear a model that is not displayed.
When you need to loop through something, executing the function before opening the new model will make the working environment clean.
The description of the Promdlerase (promdl mdl) function is this:
The erasing action caused by this function would be finished only after the execution control was returned to Creo Parametri C. Therefore, calling other functions after this function without returning the control may leads to an unpredicted Behavio R.
Indicates that the delete function will not complete until it has finished executing something that is returned to Creo. Therefore, in one thing, if the load function is executed continuously, it will load many models in memory. This results in a decrease in program execution efficiency.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Creo two times development--memory cleanup function