查看单个帖子
旧 2009-04-13, 12:01 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how to move a solidbody

how to move a solidbody
i am developing an addin using c#. i want to move a solidbody in a part file. how can i do so? i tried "insertmovecopybody2". but it doesn't work. i also tried to using "getdefinition". but it cannot return movecopyfeaturedata. could anyone help me?
i know how to move solidbody now. but i only have a feature handler which contains a solidbody. i need get the name of solidbody from the feature handler. i am doing so. if you have any experience with this, please help. thanks
now i have a "ifeature" handler in a part document. this feature contains a "solidbody". how can i get the name of the "solidbody"? i am using c#.
many thanks
i tried to use "ifeature.igetfaces2" to obtain "face2" array, which is shown in the api help file. but the function "ifeature.igetfaces2" (c#) only return "face2" object instead of an array. if i try to obtain this "face2" object, the program crashes.
can anybody help me?
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)