17#include <NXOpen/NXDeprecation.hxx>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/FileNewTemplate.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/Part.hxx>
24#include <NXOpen/PartTypes.hxx>
25#include <NXOpen/libnxopencpp_exports.hxx>
28#pragma warning(disable:4996)
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
44 class PartOperationBuilder;
50 enum NX_DEPRECATED(
"已在NX9.0.0中弃用。使用返回所有应用程序名称的NXOpen::FileNew::GetApplicationNames。") FileNewApplication
52 FileNewApplicationDrafting,
53 FileNewApplicationModeling,
54 FileNewApplicationStudio,
55 FileNewApplicationAssemblies,
56 FileNewApplicationGateway,
57 FileNewApplicationRoutingElectrical,
58 FileNewApplicationRoutingMechanical,
59 FileNewApplicationRoutingLogical,
60 FileNewApplicationNxsheetmetal,
61 FileNewApplicationSheetTemplate,
62 FileNewApplicationCaeFem,
63 FileNewApplicationCaeSim,
64 FileNewApplicationAeroSheetmetal,
65 FileNewApplicationFlexPcdSheetmetal,
66 FileNewApplicationCaeAssyFem,
67 FileNewApplicationCam,
68 FileNewApplicationInspection,
69 FileNewApplicationMechatronics,
70 FileNewApplicationShipContainer,
71 FileNewApplicationShipDetail,
72 FileNewApplicationShipReference,
73 FileNewApplicationShipSystem,
74 FileNewApplicationWelding,
75 FileNewApplicationWeldingJoint,
76 FileNewApplicationNxle,
77 FileNewApplicationShipGaAssembly,
78 FileNewApplicationShipGaSystem,
79 FileNewApplicationAecSystem,
80 FileNewApplicationCaeIdeal,
81 FileNewApplicationLast
109 private: FileNewImpl * m_filenew_impl;
110 private:
friend class _FileNewBuilder;
111 protected: FileNew();
131 const char * fileName
151 const char * templateFileName
171 const char * masterFileName
190 public:
NX_DEPRECATED(
"Deprecated in NX9.0.0. Use NXOpen::FileNew::ApplicationName that takes a string name instead.")
NXOpen::FileNewApplication Application
197 public:
NX_DEPRECATED(
"Deprecated in NX9.0.0. Use NXOpen::FileNew::SetApplicationName that takes a string name instead.")
void SetApplication
199 NXOpen::FileNewApplication application
222 const
char * application
239 bool useBlankTemplate
252 bool makeDisplayedPart
264 public:
NX_DEPRECATED(
"在 NX10.0.0 中已过时。 使用 NXOpen::Session::AssignRemoveProjects 分配/移除项目。")
void SetProjectsData
266 std::vector<
NXString> & projectName ,
267 const std::vector<
int> & assignmentState
273 public:
NX_DEPRECATED(
"在 NX10.0.0 中已过时。 使用 NXOpen::PDM::PartOperationCreateBuilder::GetAddMaster 获取 addMaster 标志。")
bool GetAddMasterFlag
280 public:
NX_DEPRECATED(
"在 NX10.0.0 中已过时。 使用 NXOpen::PDM::PartOperationCreateBuilder::SetAddMaster 设置 addMaster 标志。")
void SetAddMasterFlag
315 const
char * itemType
375 const
char * specialization
395 const
char * presentationName
418 const
char * relationType
441 const
char * usesMasterModel
455 NXOpen::
PDM::PartOperationBuilder * partOperationBuilder
501 NXOpen::FileNewApplication application ,
508 public:
void SetCloudDMNewPartBuilder
510 NXOpen::CloudDM::NewPartBuilder * cloudDMNewPartBuilder
517 public:
void AutoAssignCloudAttributes
528 bool allowTemplatePostPartCreationAction