Component2Extension 方法 |
Component2Extension 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| Edit |
编辑零部件,自动区分装配体还是零件
| |
| GetChildrenEx |
获取组件的子组件
| |
| GetCompTopFeatures |
获取组件顶层的所有特征
| |
| GetCompTopFeaturesWithTypeName |
用类型名过滤特征--只获取第一级特征
| |
| GetCompType |
获取组件的类型
| |
| GetModelDoc2Ex |
直接返回转换类型的ModelDoc对象
| |
| GetPostion | ||
| SelectFor(Component2, Action, Boolean) |
选择后执行特定动作
| |
| SelectFor(Component2, ActionComponent2, Boolean) |
选择后执行特定动作
| |
| SetFixStatus |
设置是否固定
| |
| TakeCompTopFeaturesWhile |
获取特定的特征
| |
| UsingAllBody | ||
| UsingChildren | ||
| UsingCompModelDoc2 |