NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Assemblies_RelinkerBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口访问JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Assemblies_RelinkerBuilder.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/Builder.hxx>
22
#include <NXOpen/libnxopencpp_assemblies_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
30
namespace
NXOpen
31
{
32
namespace
Assemblies
33
{
34
class
RelinkerBuilder
;
35
}
36
namespace
Assemblies
37
{
38
class
SelectComponentList
;
39
}
40
class
Builder
;
41
class
Expression
;
42
namespace
Features
43
{
44
class
Feature
;
45
}
46
class
NXObject
;
47
class
Part
;
48
namespace
Assemblies
49
{
50
class
_RelinkerBuilderBuilder;
51
class
RelinkerBuilderImpl;
57
class
NXOPENCPP_ASSEMBLIESEXPORT RelinkerBuilder :
public
NXOpen::Builder
58
{
62
public
:
enum
LinkScope
63
{
64
LinkScopePartsInSession
,
65
LinkScopePartsInAssembly
,
66
LinkScopeWorkPart
,
67
LinkScopeSelectedParts
68
};
69
70
public
:
enum
LinkCategory
71
{
72
LinkCategoryWaveGeometry
,
73
LinkCategoryInterpartExpression
74
};
75
77
public
:
enum
LinkType
78
{
79
LinkTypeAll
,
80
LinkTypeNotBroken
,
81
LinkTypeBroken
,
82
LinkTypeAutoLinked
,
83
LinkTypeWithMultipleSource
84
};
85
87
public
:
enum
LinkOption
88
{
89
LinkOptionInterpartExpression
,
90
LinkOptionWaveGeometry
,
91
LinkOptionBoth
92
};
93
private
:
RelinkerBuilderImpl
* m_relinkerbuilder_impl;
94
private
:
friend
class
_RelinkerBuilderBuilder;
95
protected
:
RelinkerBuilder
();
96
public
:
~RelinkerBuilder
();
100
public
:
NXOpen::Assemblies::RelinkerBuilder::LinkScope
TargetScope
101
(
102
);
106
public
:
void
SetTargetScope
107
(
108
NXOpen::Assemblies::RelinkerBuilder::LinkScope
targetScope
109
);
113
public
:
NXOpen::Assemblies::RelinkerBuilder::LinkScope
SourceScope
114
(
115
);
119
public
:
void
SetSourceScope
120
(
121
NXOpen::Assemblies::RelinkerBuilder::LinkScope
sourceScope
122
);
126
public
:
NXOpen::Assemblies::SelectComponentList
*
SelectComponentSource
127
(
128
);
132
public
:
NXOpen::Assemblies::SelectComponentList
*
SelectComponent
133
(
134
);
138
public
:
void
ExecuteRelink
139
(
140
);
145
public
:
void
SearchWavelinksInterpartExpressions
146
(
147
);
151
public
:
NXOpen::Assemblies::RelinkerBuilder::LinkCategory
RelinkCategory
152
(
153
);
157
public
:
void
SetRelinkCategory
158
(
159
NXOpen::Assemblies::RelinkerBuilder::LinkCategory
linkCategory
160
);
164
public
:
NXOpen::Assemblies::RelinkerBuilder::LinkType
RelinkType
165
(
166
);
170
public
:
void
SetRelinkType
171
(
172
NXOpen::Assemblies::RelinkerBuilder::LinkType
linkType
173
);
177
public
:
void
ExportToInformationWindow
178
(
179
);
184
public
:
bool
BreakWaveLink
185
(
186
);
191
public
:
void
SetBreakWaveLink
192
(
193
bool
breakWave
194
);
199
public
:
bool
BreakInterpartExpression
200
(
201
);
206
public
:
void
SetBreakInterpartExpression
207
(
208
bool
breakInterPartExpression
209
);
213
public
:
void
UpdateSession
214
(
215
);
219
public
:
void
UpdateSessionWithBreakDelayed
220
(
221
);
226
public
:
void
ViewFeatureFailure
227
(
228
);
233
public
:
bool
FaceCurveDirectionAdjustment
234
(
235
);
240
public
:
void
SetFaceCurveDirectionAdjustment
241
(
242
bool
adjustDir
243
);
249
public
:
NXString
SearchingSourceObject
250
(
251
);
257
public
:
void
SetSearchingSourceObject
258
(
259
const
NXString
& sourceObjectStr
260
);
266
void
SetSearchingSourceObject
267
(
268
const
char
* sourceObjectStr
269
);
275
public
:
NXString
SearchingDestinationObject
276
(
277
);
283
public
:
void
SetSearchingDestinationObject
284
(
285
const
NXString
& destinationObjectStr
286
);
292
void
SetSearchingDestinationObject
293
(
294
const
char
* destinationObjectStr
295
);
301
public
:
NXString
SearchingSourcePart
302
(
303
);
309
public
:
void
SetSearchingSourcePart
310
(
311
const
NXString
& sourcePartStr
312
);
318
void
SetSearchingSourcePart
319
(
320
const
char
* sourcePartStr
321
);
327
public
:
NXString
SearchingSourcePartAttribute
328
(
329
);
335
public
:
void
SetSearchingSourcePartAttribute
336
(
337
const
NXString
& sourcePartAttribute
338
);
344
void
SetSearchingSourcePartAttribute
345
(
346
const
char
* sourcePartAttribute
347
);
353
public
:
bool
IncludeSuppressedComponents
354
(
355
);
361
public
:
void
SetIncludeSuppressedComponents
362
(
363
bool
includeSuppressedComponents
364
);
370
public
:
bool
IncludeNonBrokenWaveLinks
371
(
372
);
378
public
:
void
SetIncludeNonBrokenWaveLinks
379
(
380
bool
includeNonBrokenWaveLinks
381
);
386
public
:
NXOpen::Assemblies::RelinkerBuilder::LinkOption
RelinkOption
387
(
388
);
393
public
:
void
SetRelinkOption
394
(
395
NXOpen::Assemblies::RelinkerBuilder::LinkOption
linkOption
396
);
400
public
:
int
GetExpressionSourceCount
401
(
402
NXOpen::Part
* partID ,
403
NXOpen::Expression
* expID ,
404
NXOpen::Expression
* sourceID
405
);
409
public
:
void
RelinkInterpartExpression
410
(
411
NXOpen::Part
* partID ,
412
NXOpen::Expression
* expID ,
413
NXOpen::Expression
* sourceID
414
);
418
public
:
void
RelinkWaveFeature
419
(
420
NXOpen::Part
* partID ,
421
NXOpen::Features::Feature
* featID ,
422
NXOpen::NXObject
* sourceID
423
);
427
public
:
void
SetSearchExistingInterPartExpressionOnly
428
(
429
bool
searchExistingIPEOnly
430
);
434
public
:
bool
SearchExistingInterPartExpressionOnly
435
(
436
);
437
};
438
}
439
}
440
#ifdef _MSC_VER
441
#pragma warning(pop)
442
#endif
443
#ifdef __GNUC__
444
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
445
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
446
#endif
447
#endif
448
#undef EXPORTLIBRARY