API 文件集 > Creo Parametric fundamentals > Object ProMdl > Function ProMdlHasNoConflict
Function ProMdlHasNoConflict
Description
To make sure that a given model has no storage conflict that might require a resolution in order to save. Subordinate models and instances are not processed. If resolve is PRO_B_TRUE, apply default resolutions to all found conflicts. No UI is involved. Note: When the same processing needs be applied to multiple models, ProMdlsHaveNoConflict() API is recommended to be used instead.
Synopsis
#include <ProMdl.h>
ProMdlHasNoConflict
(
ProMdl p_model
/* (In)
model to check.
*/
ProBoolean resolve
/* (In)
whether to apply default resolutions to found conflicts. The default conflict resolution in WC Workspace, for checked-in objects, is controlled by the config option "dm_checkout_on_the_fly": the possible values are "CHECKOUT" (default) and "CONTINUE". Pro/TK apps can control it by means of API ProConfigoptionGet/Set().
*/
ProBoolean* no_conflict
/* (Out)
PRO_B_TRUE indicates that no conflict were found or all were successfully resolved and hence the model can be saved immediately.
*/
)
Returns
The function performed successfully.
One or more arguments are invalid.
The function failed to perform.
這是否有幫助?