CATIEditProperties ,中说明必须自定义interface , factory , 有必要吗?
只做了下面的扩展,在CATIA中显示part没有属性,错误!
...
CATImplementClass(TSTProp,
DataExtension,
CATBaseUnknown,
MechanicalPart );
...
...
#include "TIE_CATIRootProperties.h"
TIE_CATIRootProperties( TSTProp);
....
CATListOfCATString TSTProp::GetListOfEditors ()
{
CATListOfCATString ListOfEditor ;
ListOfEditor.Append(CATString("TSTPropertyPageEdt")); //自己做的属性页
return (ListOfEditor);
} |