请教:关于UF_ASSEM_ask_occs_of_part

2008-11-08 01:57:20 AM

请教:关于UF_ASSEM_ask_occs_of_part

请教:关于UF_ASSEM_ask_occs_of_part
我要查询child_part_occs[1]在装配中的引用次数occsnum,程序如下,对不对啊?tprt=UF_ASSEM_ask_prototype_of_occ(child_part_occs[1]);if(tprt!=NULL_TAG){ occsnum=UF_ASSEM_ask_occs_of_part(rootpart,tprt,atPrtOccs);}帮忙啊谢谢!!!

你参数没有解释,我们无法做答,只好帖出——tag_t parent_part Input Tag of parent part to query. If parent_part is NULL, uses the current displayed part. tag_t part Input Tag of part with occurrences tag_t ** part_occs Output to be freed Array of part occurrence tags. The part_occs array must be freed with UF_free when it is no longer needed.

谢谢!这些参数含义解释我也找到了,我是想问用这两个函数可以实现查询child_part_occs[1]在装配中的引用次数occsnum吗?其中tag_t ** atPrtOccs;tag_t tprt;child_part_occs[1],是零件1在装配中的occurrences tag;rootpart,是装配跟部件tag;//在程序中已获得

你的概念可能没有搞太清楚,child_part_occs[1]是唯一的,而它的原型可能被引用了多次!

0 条评论:

发表评论

订阅 帖子评论 [Atom]

<< 主页

0.063410997390747