iCAx开思工具箱

标题: 如何將center_of_gravity[3]資料位置建立一個點呢? [打印本页]

作者: didicenternice    时间: 2012-3-7 17:34
标题: 如何將center_of_gravity[3]資料位置建立一個點呢?
我在Pro/E中開啟一個模型Prt後,利用ProSolidMassPropertyGet( )函式得到Solid資料,
其中有center_of_gravity[3]:重心 的xyz位置資料,我想在這位置上插入一個點該怎麼做呢??
因為一直找不到插入點的關鍵函式,是否有高手可以幫幫忙~解答一下 >"<!!
PS:這個函式ProSolidMassPropertyGet的功能在Pro/E的指令是Analysis->model->Mass Properties
int messagebox9()
{   
   ProMassProperty mass_prop;
   ProMdl solid_mdl;

   ProMdlCurrentGet(&solid_mdl);
   ProSolidMassPropertyGet((ProSolid)solid_mdl , NULL , &mass_prop );
        return(0);
}

作者: hust65    时间: 2012-3-7 18:16
用 Element Trees: Datum Features





欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3