首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
NX二次开发-NXOPEN更改工程图视图名字baseView1->SetName("LSY");
】的更多相关文章
NX二次开发-NXOPEN更改工程图视图名字baseView1->SetName("LSY");
NX9+VS2012 #include <uf.h> #include <uf_draw.h> #include <uf_obj.h> #include <uf_part.h> UF_initialize(); //新建工程图(A4图纸) char* DrawingName = "Sheet1";//设置图纸名字 UF_DRAW_info_t DrawingInfo;//设置图纸大小.投影视角.视图比例等 DrawingInfo.size…
NX二次开发-UFUN移动工程图视图UF_DRAW_move_view
#include <uf.h> #include <uf_draw.h> #include <uf_drf.h> #include <uf_obj.h> UF_initialize(); //获得当前图纸页的tag tag_t drawing_tag = NULL_TAG; UF_DRAW_ask_current_drawing(&drawing_tag); //找名字获取视图tag tag_t ViewTag = NULL_TAG; UF_OBJ_…
NX二次开发-NXOPEN设置工程图表格注释字体workPart->Fonts()->AddFont("chinesef_fs", NXOpen::FontCollection::TypeNx);
NX9+VS2012 #include <uf.h> #include <uf_tabnot.h> #include <NXOpen/Part.hxx> #include <NXOpen/PartCollection.hxx> #include <NXOpen/Session.hxx> #include <NXOpen/Annotations_TableSectionCollection.hxx> #include <NXOpe…
NX二次开发-NXOPEN创建工程图表格Annotations::TableSectionBuilder *tableSectionBuilder1;
NX9+VS2012 #include <uf.h> #include <uf_tabnot.h> #include <NXOpen/Part.hxx> #include <NXOpen/PartCollection.hxx> #include <NXOpen/Session.hxx> #include <NXOpen/Annotations_TableSectionCollection.hxx> #include <NXOpe…
NX二次开发-UFUN由工程图视图tag获取图纸页tag UF_DRAW_ask_drawing_of_view
#include <uf.h> #include <uf_draw.h> #include <uf_drf.h> #include <uf_obj.h> UF_initialize(); //找名字获取视图tag tag_t ViewTag = NULL_TAG; UF_OBJ_cycle_by_name(", &ViewTag); //由视图tag获取图纸页tag tag_t DrawingTag = NULL_TAG; UF_DRAW_…
NX二次开发-UFUN移动工程图视图到另一个图纸页UF_DRAW_move_view_to_drawing
#include <uf.h> #include <uf_draw.h> #include <uf_obj.h> UF_initialize(); //找名字获取视图tag tag_t ViewTag = NULL_TAG; UF_OBJ_cycle_by_name(", &ViewTag); //获得两张图纸页tag ; tag_t* drawing_tags = NULL_TAG; UF_DRAW_ask_drawings(&num_dra…
NX二次开发-NXOPEN将工程图转成PDF文件
NX9+VS2012 #include <uf.h> #include <uf_draw.h> #include <NXOpen/PrintPDFBuilder.hxx> #include <NXOpen/Drawings_DrawingSheet.hxx> #include <NXOpen/NXObjectManager.hxx> #include <NXOpen/PlotManager.hxx> #include <NXOp…
NX二次开发-NXOpen读取工程图注释note1->GetText();
NX9+VS2012 #include <uf.h> #include <uf_drf.h> #include <NXOpen/Annotations_Note.hxx> #include <NXOpen/NXObjectManager.hxx> UF_initialize(); //创建注释 char* TextString[] = {"Caesar卢尚宇"}; ] = {,,}; tag_t NoteTag = NULL_TAG; U…
NX二次开发-UFUN获取工程图视图边界线颜色UF_DRAW_ask_border_color
#include <uf.h> #include <uf_draw.h> #include <uf_ui.h> UF_initialize(); ; UF_DRAW_ask_border_color(&border_color); ]; sprintf_s(msg, "输出的边界线颜色为:%d", border_color); uc1601(msg, ); UF_terminate(); Caesar卢尚宇 2019年7月1日…
NX二次开发-UFUN获取工程图视图边界线是否显示UF_DRAW_ask_border_display
#include <uf.h> #include <uf_draw.h> #include <uf_ui.h> UF_initialize(); logical border_display; UF_DRAW_ask_border_display(&border_display); if (border_display == true) { uc1601(); } else { uc1601(); } UF_terminate(); Caesar卢尚宇 2019…