NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Motion_MechanismImport.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Motion_MechanismImport.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成 - 请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/TaggedObject.hxx>
22#include <NXOpen/libnxopencpp_motion_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
32 namespace Motion
33 {
34 class MechanismImport;
35 }
36 namespace Motion
37 {
38 class MotionSession;
39 }
40 namespace Assemblies
41 {
42 class Component;
43 }
44 class NXObject;
45 class Part;
46 namespace Motion
47 {
48 class MechanismImportImpl;
52 class NXOPENCPP_MOTIONEXPORT MechanismImport
53 {
61
67 private: MechanismImportImpl * m_mechanismimport_impl;
68 private: NXOpen::Motion::MotionSession* m_owner;
70 public: explicit MechanismImport(NXOpen::Motion::MotionSession *owner);
72 public:
74 tag_t Tag() const;
75 public: ~MechanismImport();
79 public: void ImportMdf
80 (
81 NXOpen::NXObject * workPart ,
82 const NXString & fileName ,
84 const NXString & addString ,
85 bool reportToInfoWindow ,
86 bool replaceExistingElements ,
88 );
93 (
94 NXOpen::NXObject * workPart ,
95 const char * fileName ,
97 const char * addString ,
98 bool reportToInfoWindow ,
99 bool replaceExistingElements ,
101 );
105 public: void ImportXML
106 (
107 NXOpen::Part * workPart ,
108 const NXString & fileName ,
110 const NXString & appendixString ,
111 bool reportToInfoWindow
112 );
117 (
118 NXOpen::Part * workPart ,
119 const char * fileName ,
121 const char * appendixString ,
122 bool reportToInfoWindow
123 );
128 (
130 NXOpen::Part * motionPart ,
131 NXOpen::Part * workPart ,
133 const NXString & appendixString ,
134 bool reportToInfoWindow ,
135 bool abortOnFailure
136 );
141 (
143 NXOpen::Part * motionPart ,
144 NXOpen::Part * workPart ,
146 const char * appendixString ,
147 bool reportToInfoWindow ,
148 bool abortOnFailure
149 );
150 }; //lint !e1712 类未定义默认构造函数
151 }
152}
153#ifdef _MSC_VER
154#pragma warning(pop)
155#endif
156#ifdef __GNUC__
157#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
158#pragma GCC diagnostic warning "-Wdeprecated-declarations"
159#endif
160#endif
161#undef EXPORTLIBRARY