iCAx开思网

标题: ProFeature 转换成ProSelection [打印本页]

作者: hyccai    时间: 2011-3-24 19:12
标题: ProFeature 转换成ProSelection
很奇怪,我这种做,是错的
ProFeature feature;
ProFeatureCreate(..................  &feature)
ProSelection feature_sel;
status=ProSelectionAlloc(NULL,(ProModelitem *)&feaure,&feature_sel);

status返回的是PRO_TK_NO_ERROR,没错,
但是用在元素对的PRO_VALUE_TYPE_SELECTION类型,却说是PRO_TK_BAD_INPUTS
作者: hyccai    时间: 2011-3-25 09:14
搞定了!!!!!!




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3