Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello
If we check parameter create document, type is there for note like
PRO_PARAM_NOTE_ID
Can I create a parameter using toolkit which refers to note. If yes, how because below code is not working:
ProError status = PRO_TK_GENERAL_ERROR;
//Current model
ProMdl objMdlDrw;
status = ProMdlCurrentGet(&objMdlDrw);
//convert to mdl item
ProModelitem objMdlItem;
status = ProMdlToModelitem(objMdlDrw,&objMdlItem);
// ProModelitem p_model_item;
ProName w_param_name;
ProParameter p_param;
ProParamvalue parameter_value;
ProParamvalueValue param_value;
param_value.i_val = 162; // note is present and ID of same is 162
status = ProParamvalueSet( ¶meter_value, ¶m_value.i_val, PRO_PARAM_NOTE_ID );
status = ProParameterCreate( &objMdlItem, L"DPDSTEST", ¶meter_value, &p_param );
If we cannot create param refering to note using toolkit, what is the meaning of that value written in document.
I am using Creo 3.0 M120.
Feel free to ask for any query.
Thanks and Regards
Ketan
Solved! Go to Solution.