|
球标已修改为自定义符号
err = ProDtlsyminstDataGet (&sym_inst, PRODISPMODE_NUMERIC, &sym_data);
//err = ProDtlsyminstdataAttachmentGet(sym_data,&attach_t);
//err = ProDtlattachGet(attach_t,&type_t,&view_t,loc,&selection_t);
err = ProDtlsyminstdataDefGet (sym_data, &sym_def);
err = ProDtlsymdefDataGet (&sym_def, &def_data);
err = ProTestAttachGet (drw, def_data, &def_at_type, &attach);/attach中增加位置信息
err = ProDtlsyminstdataAttachtypeSet (sym_data, def_at_type);
err = ProDtlsyminstdataAttachmentSet (sym_data, attach);
err = ProDtlattachFree (attach);
err = ProDtlsyminstErase (&sym_inst);
err = ProDtlsyminstModify (&sym_inst, sym_data);
err = ProDtlsyminstShow (&sym_inst);
err = ProDtlsyminstModify (&sym_inst, sym_data);
此函数返回 PRO_TK_GENERAL_ERROR Can't modify the symbol instance. 求解 |
|