NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Mechatronics_MechatronicsManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Mechatronics_MechatronicsManager.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/Mechatronics_SystemRoot.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Mechatronics
34 {
36 }
37 class Part;
38 namespace Mechatronics
39 {
41 }
42 namespace Mechatronics
43 {
45 }
46 namespace Mechatronics
47 {
49 }
50 namespace Mechatronics
51 {
53 }
54 namespace Mechatronics
55 {
57 }
58 namespace Mechatronics
59 {
60 class SystemObject;
61 }
62 namespace Mechatronics
63 {
64 class SystemRoot;
65 }
66 class NXObject;
67 namespace Mechatronics
68 {
69 class MechatronicsManagerImpl;
73 class NXOPENCPP_MECHATRONICSEXPORT MechatronicsManager
74 {
75 private: MechatronicsManagerImpl * m_mechatronicsmanager_impl;
76 private: NXOpen::Part* m_owner;
78 public: explicit MechatronicsManager(NXOpen::Part *owner);
80 public:
82 tag_t Tag() const;
83 public: ~MechatronicsManager();
87 public: void LogEntityToDelete
88 (
89 NXOpen::NXObject * object
90 );
95 public: NX_DEPRECATED("在NX9.0.0中已废弃。请使用同名的另一个方法代替。") void ExportModel
96 (
97 const NXString & path ,
98 bool bFunction ,
100 );
106 (
107 const char * path ,
108 bool bFunction ,
109 bool bLogical
110 );
115 public: NX_DEPRECATED("Deprecated in NX9.0.0. Please use another method with the same name instead.") void ImportModel
116 (
117 const NXString & path ,
118 bool bFunction ,
119 bool bLogical
120 );
126 (
127 const char * path ,
128 bool bFunction ,
129 bool bLogical
130 );
134 public: void SaveToTeamcenter
135 (
136 );
141 public: NX_DEPRECATED("Deprecated in NX9.0.0. Please use another method with the same name instead.") void RefreshFromTeamcenter
142 (
143 bool bFunction ,
145 );
149 public: void SaveToTeamcenter
150 (
151 bool requirement ,
152 bool function ,
153 bool logic
154 );
158 public: void ExportModel
159 (
160 const NXString & path ,
161 bool requirement ,
162 bool function ,
163 bool logic
164 );
169 (
170 const char * path ,
171 bool requirement ,
172 bool function ,
173 bool logic
174 );
178 public: void ImportModel
179 (
180 const NXString & path ,
181 bool overrideModel ,
182 bool requirement ,
183 bool function ,
184 bool logic
185 );
190 (
191 const char * path ,
192 bool overrideModel ,
193 bool requirement ,
194 bool function ,
195 bool logic
196 );
201 (
202 bool requirement ,
203 bool function ,
204 bool logic
205 );
209 public: void OpenFunctionModel
210 (
211 const NXString & itemMFKID ,
212 const NXString & variantRule
213 );
218 (
219 const char * itemMFKID ,
220 const char * variantRule
221 );
225 public: void OpenLogicalModel
226 (
227 const NXString & itemMFKID ,
228 const NXString & variantRule
229 );
234 (
235 const char * itemMFKID ,
236 const char * variantRule
237 );
242 (
243 const NXString & itemMFKID ,
244 const NXString & variantRule
245 );
250 (
251 const char * itemMFKID ,
252 const char * variantRule
253 );
258 (
259 NXOpen::Mechatronics::SystemObject * object ,
260 const NXString & itemMFKID ,
261 const NXString & instanceName
262 );
267 (
268 NXOpen::Mechatronics::SystemObject * object ,
269 const char * itemMFKID ,
270 const char * instanceName
271 );
276 (
277 NXOpen::Mechatronics::SystemObject * object ,
278 const NXString & itemMFKID ,
279 const NXString & instanceName
280 );
285 (
286 NXOpen::Mechatronics::SystemObject * object ,
287 const char * itemMFKID ,
288 const char * instanceName
289 );
294 (
295 NXOpen::Mechatronics::SystemObject * object ,
296 const NXString & itemMFKID ,
297 const NXString & instanceName
298 );
303 (
304 NXOpen::Mechatronics::SystemObject * object ,
305 const char * itemMFKID ,
306 const char * instanceName
307 );
312 public: NX_DEPRECATED("在 NX9.0.0 中已过时。请使用 SystemObject::CreateTraceLink 替代。") void PasteTraceLink
313 (
315 );
320 (
321 NXOpen::Mechatronics::SystemRoot::Type rootType
322 );
327 (
328 );
333 (
334 );
340 (
341 NXOpen::Mechatronics::SystemRoot::Type rootType
342 );
346 public: void CopySystemObject
347 (
348 const std::vector<NXOpen::Mechatronics::SystemObject *> & objects
349 );
353 public: void CutSystemObject
354 (
355 const std::vector<NXOpen::Mechatronics::SystemObject *> & objects
356 );
360 public: void PasteSystemObject
361 (
363 );
380 }; //lint !e1712 类未定义默认构造函数
381 }
382}
383#ifdef _MSC_VER
384#pragma warning(pop)
385#endif
386#ifdef __GNUC__
387#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
388#pragma GCC diagnostic warning "-Wdeprecated-declarations"
389#endif
390#endif
391#undef EXPORTLIBRARY