Category
Creo Parametric fundamentals
, Object
ProMdl
Function ProMdlLockSet
Description
Set lock/unlock state to the model.
Synopsis
#include <
ProMdl.h
>
ProError
ProMdlLockSet
(
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_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input arguments was invalid.
PRO_TK_GENERAL_ERROR
The 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:
Core: Models and Model Items: Surface Properties of Models
Core: Models and Model Items: Surface Properties of Models