NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PartCleanup.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:部件清理API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PartCleanup.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/TransientObject.hxx>
22
#include <NXOpen/libnxopencpp_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
class
PartCleanup
;
33
class
PartCleanupImpl;
40
class
NXOPENCPPEXPORT
PartCleanup
:
public
NXOpen::TransientObject
41
{
43
public
:
enum
CleanupParts
44
{
45
CleanupPartsWork
,
46
CleanupPartsComponents
,
47
CleanupPartsAll
48
};
49
50
public
:
enum
DeleteGroups
51
{
52
DeleteGroupsNone
,
53
DeleteGroupsUnnamed
,
54
DeleteGroupsAll
55
};
56
57
public
:
enum
ResetComponentDisplayAction
58
{
59
ResetComponentDisplayActionNo
,
60
ResetComponentDisplayActionRemoveRedundantChanges
,
61
ResetComponentDisplayActionRemoveAllChanges
62
};
63
private
:
PartCleanupImpl
* m_partcleanup_impl;
65
public
:
explicit
PartCleanup
(
void
*ptr);
67
70
public
:
virtual
~PartCleanup
();
74
public
:
void
SetPartsToCleanup
75
(
76
NXOpen::PartCleanup::CleanupParts
cleanupOption
77
);
81
public
:
NXOpen::PartCleanup::CleanupParts
PartsToCleanup
82
(
83
);
87
public
:
void
SetGroupsToDelete
88
(
89
NXOpen::PartCleanup::DeleteGroups
cleanupOption
90
);
94
public
:
NXOpen::PartCleanup::DeleteGroups
GroupsToDelete
95
(
96
);
100
public
:
void
SetTurnOffHighlighting
101
(
102
bool
cleanupOption
103
);
107
public
:
bool
TurnOffHighlighting
108
(
109
);
113
public
:
void
SetDeleteUnusedObjects
114
(
115
bool
cleanupOption
116
);
120
public
:
bool
DeleteUnusedObjects
121
(
122
);
126
public
:
void
SetDeleteUnusedExpressions
127
(
128
bool
cleanupOption
129
);
133
public
:
bool
DeleteUnusedExpressions
134
(
135
);
139
public
:
void
SetCleanupFeatureData
140
(
141
bool
cleanupOption
142
);
146
public
:
bool
CleanupFeatureData
147
(
148
);
152
public
:
void
SetFixOffplaneSketchCurves
153
(
154
bool
cleanupOption
155
);
159
public
:
bool
FixOffplaneSketchCurves
160
(
161
);
165
public
:
void
SetCleanupMatingData
166
(
167
bool
cleanupOption
168
);
172
public
:
bool
CleanupMatingData
173
(
174
);
178
public
:
void
SetCleanupAssemblyConstraints
179
(
180
bool
cleanupOption
181
);
185
public
:
bool
CleanupAssemblyConstraints
186
(
187
);
191
public
:
void
SetCleanupCAMObjects
192
(
193
bool
cleanupOption
194
);
198
public
:
bool
CleanupCAMObjects
199
(
200
);
204
public
:
void
SetCleanupDraftingObjects
205
(
206
bool
cleanupOption
207
);
211
public
:
bool
CleanupDraftingObjects
212
(
213
);
217
public
:
void
SetDeleteUnusedFonts
218
(
219
bool
cleanupOption
220
);
224
public
:
bool
DeleteUnusedFonts
225
(
226
);
230
public
:
void
SetDeleteUnusedUnits
231
(
232
bool
cleanupOption
233
);
237
public
:
bool
DeleteUnusedUnits
238
(
239
);
243
public
:
void
SetResetComponentDisplay
244
(
245
NXOpen::PartCleanup::ResetComponentDisplayAction
cleanupOption
246
);
250
public
:
NXOpen::PartCleanup::ResetComponentDisplayAction
ResetComponentDisplay
251
(
252
);
256
public
:
void
SetDeleteSpreadSheetData
257
(
258
bool
cleanupOption
259
);
263
public
:
bool
DeleteSpreadSheetData
264
(
265
);
269
public
:
void
SetDeleteVisualEditorData
270
(
271
bool
cleanupOption
272
);
276
public
:
bool
DeleteVisualEditorData
277
(
278
);
282
public
:
void
SetDeleteMaterials
283
(
284
bool
cleanupOption
285
);
289
public
:
bool
DeleteMaterials
290
(
291
);
295
public
:
void
SetDeleteDuplicateLights
296
(
297
bool
cleanupOption
298
);
302
public
:
bool
DeleteDuplicateLights
303
(
304
);
308
public
:
void
SetDeleteBrokenInterpartLinks
309
(
310
bool
cleanupOption
311
);
315
public
:
bool
DeleteBrokenInterpartLinks
316
(
317
);
321
public
:
void
DoCleanup
322
(
323
);
327
public
:
void
Reset
328
(
329
);
333
public
:
void
SetCleanupRoutingData
334
(
335
bool
cleanupOption
336
);
340
public
:
bool
CleanupRoutingData
341
(
342
);
346
public
:
void
SetDeleteInvalidAttributes
347
(
348
bool
cleanupOption
349
);
353
public
:
bool
DeleteInvalidAttributes
354
(
355
);
359
public
:
void
SetCleanupMotionData
360
(
361
bool
cleanupOption
362
);
366
public
:
bool
CleanupMotionData
367
(
368
);
372
public
:
void
SetDeleteUnusedExtractReferences
373
(
374
bool
opt
375
);
379
public
:
bool
DeleteUnusedExtractReferences
380
(
381
);
385
public
:
void
SetCleanupPartFamilyData
386
(
387
bool
cleanupOption
388
);
392
public
:
bool
CleanupPartFamilyData
393
(
394
);
398
public
:
void
SetDeleteCorruptAssemblyStructure
399
(
400
bool
option
401
);
405
public
:
bool
DeleteCorruptAssemblyStructure
406
(
407
);
411
public
:
void
SetCleanupAssemblyComponentPatterns
412
(
413
bool
cleanupOption
414
);
418
public
:
bool
CleanupAssemblyComponentPatterns
419
(
420
);
421
};
//lint !e1712 default constructor not defined for class
422
}
423
#ifdef _MSC_VER
424
#pragma warning(pop)
425
#endif
426
#ifdef __GNUC__
427
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
428
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
429
#endif
430
#endif
431
#undef EXPORTLIBRARY