NX二次开发源码分享: 报告所有特征相关信息

2016-3-4 13:37| 发布者: admin| 查看: 2797| 评论: 1|原作者: admin

摘要: NX二次开发源码分享: 报告所有特征相关信息 Session *theSession = Session::GetSession(); Part *workPart(theSession-Parts()-Work()); FeatureCollection *thefeature= workPart-Features(); for (Feat ...
NX二次开发源码分享: 报告所有特征相关信息

   Session *theSession = Session::GetSession();
    Part *workPart(theSession->Parts()->Work());
    FeatureCollection *thefeature= workPart->Features();

    for (FeatureCollection::iterator it=thefeature->begin(); it!= thefeature->end(); it++)

    {
        theSession->Information()->DisplayFeatureDetails((*it),NXOpen::Information::DisplayFeatureType::DisplayFeatureTypeAll);
    }

1

路过

雷人

握手

鲜花

鸡蛋

刚表态过的朋友 (1 人)

发表评论

最新评论

引用 刘广玉 2017-1-7 11:44
顶顶顶顶顶顶顶顶顶顶

查看全部评论(1)

相关分类

关注公众号
QQ客服返回顶部