NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Assemblies_ReplaceComponentBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口到 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Assemblies_ReplaceComponentBuilder.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/ErrorList.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/PartLoadStatus.hxx>
24
#include <NXOpen/SelectObjectList.hxx>
25
#include <NXOpen/libnxopencpp_assemblies_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Assemblies
36
{
37
class
ReplaceComponentBuilder
;
38
}
39
class
Builder
;
40
class
ErrorList
;
41
class
PartLoadStatus
;
42
class
SelectDisplayableObjectList
;
43
namespace
Assemblies
44
{
45
class
_ReplaceComponentBuilderBuilder;
46
class
ReplaceComponentBuilderImpl;
75
class
NXOPENCPP_ASSEMBLIESEXPORT ReplaceComponentBuilder :
public
NXOpen::Builder
76
{
78
public
:
enum
ComponentReferenceSet
79
{
80
ComponentReferenceSetMaintain
,
81
ComponentReferenceSetEntirePart
,
82
ComponentReferenceSetEmpty
,
83
ComponentReferenceSetOthers
84
};
85
86
public
:
enum
ComponentLayerOption
87
{
88
ComponentLayerOptionMaintain
,
89
ComponentLayerOptionOriginal
,
90
ComponentLayerOptionWork
,
91
ComponentLayerOptionAsSpecified
92
};
93
94
public
:
enum
ComponentNameOption
95
{
96
ComponentNameOptionMaintain
,
97
ComponentNameOptionOriginal
,
98
ComponentNameOptionAsSpecified
99
};
100
private
:
ReplaceComponentBuilderImpl
* m_replacecomponentbuilder_impl;
101
private
:
friend
class
_ReplaceComponentBuilderBuilder;
102
protected
:
ReplaceComponentBuilder
();
103
public
:
~ReplaceComponentBuilder
();
107
public
:
NXOpen::SelectDisplayableObjectList
*
ComponentsToReplace
108
(
109
);
113
public
:
NXString
ReplacementPart
114
(
115
);
119
public
:
void
SetReplacementPart
120
(
121
const
NXString
& replacementPart
122
);
126
void
SetReplacementPart
127
(
128
const
char
* replacementPart
129
);
133
public
:
bool
MaintainRelationships
134
(
135
);
139
public
:
void
SetMaintainRelationships
140
(
141
bool
maintainRelationships
142
);
146
public
:
bool
ReplaceAllOccurrences
147
(
148
);
152
public
:
void
SetReplaceAllOccurrences
153
(
154
bool
replaceAllOccurrences
155
);
159
public
:
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentNameOption
ComponentNameType
160
(
161
);
165
public
:
void
SetComponentNameType
166
(
167
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentNameOption
componentNameOption
168
);
172
public
:
NXString
ComponentName
173
(
174
);
178
public
:
void
SetComponentName
179
(
180
const
NXString
& componentName
181
);
185
void
SetComponentName
186
(
187
const
char
* componentName
188
);
192
public
:
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentReferenceSet
GetComponentReferenceSetType
193
(
194
NXString
* referenceSetName
195
);
199
public
:
void
SetComponentReferenceSetType
200
(
201
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentReferenceSet
componentReferenceSet ,
202
const
NXString
& referenceSetName
203
);
207
void
SetComponentReferenceSetType
208
(
209
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentReferenceSet
componentReferenceSet ,
210
const
char
* referenceSetName
211
);
215
public
:
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentLayerOption
ComponentLayerOptionType
216
(
217
);
221
public
:
void
SetComponentLayerOptionType
222
(
223
NXOpen::Assemblies::ReplaceComponentBuilder::ComponentLayerOption
componentLayerOption
224
);
233
public
:
int
ComponentLayer
234
(
235
);
244
public
:
void
SetComponentLayer
245
(
246
int
componentLayer
247
);
252
public
:
NXOpen::PartLoadStatus
*
RegisterReplacePartLoadStatus
253
(
254
);
258
public
:
bool
AllowTemporaryPartsToReplace
259
(
260
);
264
public
:
void
SetAllowTemporaryPartsToReplace
265
(
266
bool
allowTemporaryPartsToReplace
267
);
271
public
:
NXOpen::ErrorList
*
GetErrorList
272
(
273
);
274
};
275
}
276
}
277
#ifdef _MSC_VER
278
#pragma warning(pop)
279
#endif
280
#ifdef __GNUC__
281
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
282
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
283
#endif
284
#endif
285
#undef EXPORTLIBRARY