0
点赞
收藏
分享

微信扫一扫

C++之list成员函数应用总结(二百三十七)

文章作者:里海
来源网站:王牌飞行员_里海_里海NX二次开发3000例,里海BlockUI专栏,C\C++-CSDN博客


简介:

效果:

      

代码:

#include "me.hpp"
#include <NXOpen/ListingWindow.hxx>
#include <NXOpen/Session.hxx>

using namespace NXOpen;

extern DllExport void ufusr(char* param, int* returnCode, int rlen)
{
	Session* theSession = Session::GetSession();
	ListingWindow* list = theSession->ListingWindow();
	list->Open();//只有这句是不打开窗口的
	list->WriteLine("Hello LiHai");
}

extern int ufusr_ask_unload(void)
{
	return (UF_UNLOAD_IMMEDIATELY);
}
举报

相关推荐

0 条评论