API 文件集 > Miscellaneous > Object ProMdlname > Function ProMdlnameRename
Function ProMdlnameRename
Description
Renames the specified model. Note: In Creo 3 this function does not differ in behavior from superseded ProMdlRename. In particular, new_name can be only of ProName length. This function is reserved for future use.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdl.h>
ProMdlnameRename
(
ProMdl handle
/* (In)
The model handle
*/
ProMdlName new_name
/* (In)
The new name to assign to the model
*/
)
Returns
The function successfully renamed the model.
Model is in read-only state.
One or more of the arguments are invalid.
The function is not available in Design Test Mode.
Unsupported model. For instance, models which come from Multi-CAD model approach, are not supported in this release.
The function does not have permission to operate on this model.
See Also
Sample Code References
這是否有幫助?