Object ProManikin

Function ProManikinCustomize


Description
This function sets the specified parameters and performs regeneration if required. The logics of parameters update is following: height change resets all other dimensions; weight change resets 3 or 4 dimemnsions mentioned above; any antropometric dim from the 1st part influences all other dimensions on this section; all other parameters would be left unchanged. If required to set the parameter to the default value ProManikinEditVarPair.reset has to be set to PRO_B_TRUE Order of the parameters in ProManikinEditVarPair is not important.
Synopsis
#include <ProManikinCust.h>
ProErrorProManikinCustomize(
const ProManikinEditVarPair* vars_array
/* (In)
ProArray array of ProManikinEditVarPair
*/
ProName failed_param_name
/* (Out)
if the process failed it would contain the problematic parameter we were unable to satisfy.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful.
PRO_TK_BAD_CONTEXTThe cust manikin must be the top window object.
PRO_TK_BAD_INPUTSInvalid input in this case failed_param_name will return the problematic parameter.
PRO_TK_INVALID_TYPEProManikinEditVarPair.p_val does not match type of ProManikinEditVarPair.ProParamvalue - failed_param_name will be set.
PRO_TK_NOT_VALIDA parameter not in bounds or the regeneration
failedfailed_param_name will be set.
PRO_TK_GENERAL_ERRORThe function failed by other reason.

Manual References:

  1. Assembly: Kinematic Dragging and Creating Snapshots: Manikin Edit