NX二次开发源码分享: 打印license bundles 信息
NX二次开发源码分享: 打印license bundles 信息static void report_selected_license_bundles()
{
Session *theSession = Session::GetSession();
theSession->ListingWindow()->Open();
LicenseManager *theLM = theSession->LicenseManager();
std::vector<LicenseManager::LicenseBundle>theBundles = theLM->GetBundlesSelected();
theSession->ListingWindow()->WriteFullline("Selected Bundles:");
for each (LicenseManager::LicenseBundle aBundle in theBundles)
{
NXString msg = NXString(" ") + aBundle.BundleName;
theSession->ListingWindow()->WriteFullline(msg);
}
}
这个用途是什么?
页:
[1]