UG 遍历部件获得体的tag
file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\429570094\QQ\WinTemp\RichOle\OD%I71F%SOW9IWT3R8G2FZW.png如何获得左边这些体的tag,我这个方法总是循环多出了很多的tagtag_tdisp_part_tag=NULL_TAG,next_tag=NULL_TAG,subtype=NULL_TAG;
inttype 1=UF_solid_type;
double tj=0;
disp_part_tag=UF_PART_ask_display_part ( ); //得到当前部件文件标识
UF_OBJ_cycle_objs_in_part(disp_part_tag,type1,&next_tag);
while(next_tag!=NULL_TAG )
{
double acc_value [ 11 ] ={.01,0,0,0,0,0,0,0,0,0,0};
double mass_props [ 47 ];
double statistics [ 13 ];
UF_MODL_ask_mass_props_3d(&next_tag,1,1,3,NULL ,1,acc_value,mass_props,statistics);
tj = mass_props+ tj;
UF_OBJ_cycle_objs_in_part(disp_part_tag,type,&next_tag);
}
用NXOPEN的BodyCollection 我想问一下,是怎么做到,在特征树上,只有“体”,没有诸如拉伸,旋转之类的特征的? 可能 要通过几何属性判断 用NXOPEN的BodyCollection 666666 Yuluoshui 发表于 2017-11-30 14:16
我想问一下,是怎么做到,在特征树上,只有“体”,没有诸如拉伸,旋转之类的特征的?
移除参数,在编辑里面,一般模具设计全杀参,产品设计不杀参,其实有同步建模,只要不是量产的模板文件,都可以不要参数
页:
[1]