几何尺寸与公差论坛

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

【转帖】how know if a component is a part or an assembly

[复制链接]
发表于 2009-4-12 21:11:22 | 显示全部楼层 |阅读模式
how know if a component is a part or an assembly
hi!
i have an assembly and i want to edit all the components but before doing it i have to know if the component is a part o an assembly to put swmodel.editpart or editassembly.
can anybody help me?
thanks!
if you have a component2 then you can use component2::getmodeldoc and then modeldoc2::gettype.
i'll get you eh steve, if it's the last thing i dooooo!
thanks, josh!
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 06:39 , Processed in 0.035106 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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