iCAx开思工具箱
标题:
那位大虾能帮忙解读一下这样的代码?
[打印本页]
作者:
daoshou
时间:
2006-4-11 15:21
标题:
那位大虾能帮忙解读一下这样的代码?
if ( NULL != pEditor )
{
CATPathElement path = pEditor->GetUIActiveObject();//Returns the current UI-activated element
if ( 0 != path.GetSize() )
{
CATBaseUnknown * _pActiveObject ;
_pActiveObject= path[path.GetSize()-1];
if ( NULL != _pActiveObject )
{
HRESULT rc = _pActiveObject->QueryInterface(IID_CATISpecObject, (void**)&_pUIActiveObject);
if (SUCCEEDED(rc))
{
_pContainer = _pUIActiveObject->GetFeatContainer();
}
}
_pActiveObject=NULL;
}
}
那位大虾能解读一下上面的代码?
作者:
meifan3102
时间:
2006-4-20 12:40
得到该文件的跟container
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3