admin 发表于 2016-3-4 13:37:31

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

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);
    }

刘广玉 发表于 2017-1-7 11:44:54

顶顶顶顶顶顶顶顶顶顶
页: [1]
查看完整版本: NX二次开发源码分享: 报告所有特征相关信息