Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlLockSet


Description
Set lock/unlock state to the model.
Synopsis
#include <ProMdl.h>
ProErrorProMdlLockSet(
ProMdl model
/* (In)
The model.
*/
ProBoolean lock
/* (In)
PRO_B_TRUE to lock the model, PRO_B_FALSE to unlock the model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe function failed. User also receive this error if user call this API to lock/unlock the model which is already locked/unlocked correspondingly.

Manual References:

  1. Core: Models and Model Items: Surface Properties of Models
  2. Core: Models and Model Items: Surface Properties of Models