iCAx开思工具箱
标题:
怎样判断零件状态是否是Blank
[打印本页]
作者:
hyccai
时间:
2011-3-12 18:20
标题:
怎样判断零件状态是否是Blank
如题,MFG的assembly模式下
作者:
hyccai
时间:
2011-3-20 11:11
谁帮帮我!!!!!!!!
作者:
hust65
时间:
2011-3-21 13:26
沒做過
但在asm的model tree下,subasm和part都是Feature,所以你可以試試ProFeatureStatusGet看看得到的是甚麼?
作者:
hyccai
时间:
2011-3-21 18:07
status=ProFeatureStatusGet(p_feat,&p_status);
typedef enum pro_feat_status {
PRO_FEAT_INVALID = -1, /* input was invalid */
PRO_FEAT_ACTIVE = 0, /* feature is active */
PRO_FEAT_INACTIVE = 1, /* feature is inactive */ PRO_FEAT_FAMTAB_SUPPRESSED = 2, /* feature is suppressed by family */ /* table functionality */
PRO_FEAT_SIMP_REP_SUPPRESSED = 3, /* feature is suppressed by */ /* simplified reps functionality */
PRO_FEAT_PROG_SUPPRESSED = 4, /* feature is suppressed by */ /* Pro/PROGRAM functionality */ PRO_FEAT_SUPPRESSED = 5, /* feature is suppressed */
PRO_FEAT_UNREGENERATED = 6 /* feature is active but */ /* unregenerated */
} ProFeatStatus;
判断状态是否为
PRO_FEAT_ACTIVE
不行,只能过滤掉suppressed的
作者:
hust65
时间:
2011-3-22 11:38
那用ProFeatureVisibilityGet看看
作者:
hyccai
时间:
2011-3-22 20:56
hust65 发表于 2011-3-22 11:38
那用ProFeatureVisibilityGet看看
试过,也不行
作者:
hust65
时间:
2011-3-23 09:54
那我也不知道還能用甚麼了
作者:
hyccai
时间:
2011-3-23 19:50
呵呵,谢谢!
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3