NX二次开发 UFUN获得图纸视图边界线是否显示 UF_DRAW_ask_border_display
//NX8.0+VS2010
#include <uf_assem.h>
#include <uf_part.h>
#include <uf_obj.h>
#include <uf_modl.h>
#include <uf_view.h>
#include <uf_draw.h>
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
logical border_display;
UF_DRAW_ask_border_display(&border_display);
if (border_display)
{
uc1601("边界线显示", 1);
}
else
{
uc1601("边界线隐藏", 1);
}
UF_terminate();
}