回答(1)
huigezrx 19级 2014-09-16 22:19:21
CAA获取当前特征可以通过CATIPrtPart接口的GetCurrentFeature方法获取,该方法的原型和帮助说明如下:
public virtual CATISpecObject_varGetCurrentFeature()= 0
Returns the current feature of the MechanicalPart feature.返回MechanicalPart特征的当前特征。
Role:This method returns the mechanical feature set by the SetCurrentFeature method, or by the "Define In Work Object" command in an interactive session.
Role:This method returns the mechanical feature set by the SetCurrentFeature method, or by the "Define In Work Object" command in an interactive session.
功能:这个方法返回通过SetCurrentFeature方法设置的机械特征,或者通过交互窗口命令“定义工作对象”设置的特征。