几何尺寸与公差论坛

 找回密码
 注册
查看: 600|回复: 0

【转帖】how to move a solidbody

[复制链接]
发表于 2009-4-13 12:01:14 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 18:36 , Processed in 0.034205 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表