I am trying to create a symbol instance using toolkit. This symbol has to be placed on entity. Using the ProDtlattachAlloc function as mentioned in help returns error as PRO_TK_BAD_INPUTS
status = ProDtlattachAlloc (PRO_DTLATTACHTYPE_PARAMETRIC, NULL, NULL, sel[0], &attach);
where sel is a ProSelection item that I got using the function
ProSelect(point,axis,edge,curve,1,NULL,NULL,NULL,NULL,&sel,&n_sel);
Please help ! ! !
status = ProDtlattachAlloc (PRO_DTLATTACHTYPE_PARAMETRIC, NULL, NULL, sel[0], &attach);
where sel is a ProSelection item that I got using the function
ProSelect(point,axis,edge,curve,1,NULL,NULL,NULL,NULL,&sel,&n_sel);
Please help ! ! !