NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
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
31
namespace
NXOpen
32
{
33
namespace
Mechatronics
34
{
35
class
MechatronicsManager
;
36
}
37
class
Part
;
38
namespace
Mechatronics
39
{
40
class
DependencyCreatorBuilder
;
41
}
42
namespace
Mechatronics
43
{
44
class
ElectricalPartCollection
;
45
}
46
namespace
Mechatronics
47
{
48
class
FunctionObjectCollection
;
49
}
50
namespace
Mechatronics
51
{
52
class
LogicObjectCollection
;
53
}
54
namespace
Mechatronics
55
{
56
class
RequirementCollection
;
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
,
99
bool
bLogical
100
);
105
void
ExportModel
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
);
125
void
ImportModel
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
,
144
bool
bLogical
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
);
168
void
ExportModel
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
);
189
void
ImportModel
190
(
191
const
char
* path ,
192
bool
overrideModel ,
193
bool
requirement ,
194
bool
function ,
195
bool
logic
196
);
200
public:
void
RefreshFromTeamcenter
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
);
217
void
OpenFunctionModel
218
(
219
const
char
* itemMFKID ,
220
const
char
* variantRule
221
);
225
public:
void
OpenLogicalModel
226
(
227
const
NXString
& itemMFKID ,
228
const
NXString
& variantRule
229
);
233
void
OpenLogicalModel
234
(
235
const
char
* itemMFKID ,
236
const
char
* variantRule
237
);
241
public:
void
OpenRequirementModel
242
(
243
const
NXString
& itemMFKID ,
244
const
NXString
& variantRule
245
);
249
void
OpenRequirementModel
250
(
251
const
char
* itemMFKID ,
252
const
char
* variantRule
253
);
257
public:
void
AddExistingFunction
258
(
259
NXOpen
::
Mechatronics
::
SystemObject
*
object
,
260
const
NXString
& itemMFKID ,
261
const
NXString
& instanceName
262
);
266
void
AddExistingFunction
267
(
268
NXOpen
::
Mechatronics
::
SystemObject
*
object
,
269
const
char
* itemMFKID ,
270
const
char
* instanceName
271
);
275
public:
void
AddExistingLogical
276
(
277
NXOpen
::
Mechatronics
::
SystemObject
*
object
,
278
const
NXString
& itemMFKID ,
279
const
NXString
& instanceName
280
);
284
void
AddExistingLogical
285
(
286
NXOpen
::
Mechatronics
::
SystemObject
*
object
,
287
const
char
* itemMFKID ,
288
const
char
* instanceName
289
);
293
public:
void
AddExistingRequirement
294
(
295
NXOpen
::
Mechatronics
::
SystemObject
*
object
,
296
const
NXString
& itemMFKID ,
297
const
NXString
& instanceName
298
);
302
void
AddExistingRequirement
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
(
314
NXOpen
::
Mechatronics
::
SystemObject
*
object
315
);
319
public:
NXOpen
::
Mechatronics
::
SystemRoot
*
CreateSystemRoot
320
(
321
NXOpen
::
Mechatronics
::
SystemRoot
::Type rootType
322
);
326
public:
NXOpen
::
Mechatronics
::
DependencyCreatorBuilder
*
CreateDependencyCreatorBuilder
327
(
328
);
332
public:
NXString
LoadAsSaved
333
(
334
);
339
public:
NXOpen
::
Mechatronics
::
SystemRoot
*
GetSystemRoot
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
(
362
NXOpen
::
Mechatronics
::
SystemObject
* parent
363
);
367
public:
NXOpen
::
Mechatronics
::
FunctionObjectCollection
*
FunctionObjectCollection
();
371
public:
NXOpen
::
Mechatronics
::
LogicObjectCollection
*
LogicObjectCollection
();
375
public:
NXOpen
::
Mechatronics
::
RequirementCollection
*
RequirementCollection
();
379
public:
NXOpen
::
Mechatronics
::
ElectricalPartCollection
*
ElectricalPartCollection
();
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