摘要:
1、NXString转换为string、const char* 从字符串控件、枚举控件中获得的值大都是NXString类型: //获取字符串控件的值 NXString NX_str=string->ValueAsString(); //NXString转换为string、const char* st 阅读全文
摘要:
1、NXString转换为string、const char* 从字符串控件、枚举控件中获得的值大都是NXString类型: //获取字符串控件的值 NXString NX_str=string->ValueAsString(); //NXString转换为string、const char* st 阅读全文
摘要:
可在装配树选择部件改名,也可以直接选择部件改名。 VS2015 NX12 HPP #include <uf_defs.h>#include <uf_ui_types.h>#include <iostream>#include <NXOpen/Session.hxx>#include <NXOpen/ 阅读全文
摘要:
C++ //获取UI界面的值 //Get the chamfer angle and edge selection list from the dialog PropertyList* angleDoubleProps = angleDouble->GetProperties(); double c 阅读全文
摘要:
C++ //用户头文件 #include <NXOpen/Features_Block.hxx>#include <NXOpen/Features_ChamferBuilder.hxx>#include <NXOpen/Features_Feature.hxx>#include <NXOpen/Fe 阅读全文
摘要:
C++ //用户头文件#include <NXOpen/DisplayManager.hxx>#include <NXOpen/Body.hxx>#include <NXOpen/BodyCollection.hxx>#include <NXOpen/NXException.hxx>#include 阅读全文
摘要:
C++ // Mandatory UF Includes#include <uf.h>#include <uf_object_types.h> // Internal Includes#include <NXOpen/ListingWindow.hxx>#include <NXOpen/NXMess 阅读全文
摘要:
C++ #include <uf.h>#include <uf_object_types.h> // Internal Includes#include <NXOpen/ListingWindow.hxx>#include <NXOpen/NXMessageBox.hxx>#include <NXO 阅读全文
摘要:
C++ //HPP文件 // #ifndef ATTRIBUTE_TEST_H_INCLUDED#define ATTRIBUTE_TEST_H_INCLUDED // //These includes are needed for the following template code// #in 阅读全文
摘要:
C++ //HPP头文件内容 #include <uf_defs.h>#include <uf_ui_types.h>#include <iostream>#include <NXOpen/Session.hxx>#include <NXOpen/UI.hxx>#include <NXOpen/NX 阅读全文
摘要:
C++ //用户头文件#include <NXOpen/DisplayManager.hxx>#include <NXOpen/DisplayModification.hxx>#include <NXOpen/DisplayableObject.hxx>#include <NXOpen/Face.h 阅读全文
|