NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_AssignPatchBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Tooling_AssignPatchBuilder.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/SelectObjectList.hxx>
23
#include <NXOpen/libnxopencpp_tooling_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
Tooling
34
{
35
class
AssignPatchBuilder
;
36
}
37
class
Body
;
38
class
Builder
;
39
class
NXColor
;
40
class
SelectBodyList
;
41
namespace
Tooling
42
{
43
class
_AssignPatchBuilderBuilder;
44
class
AssignPatchBuilderImpl;
60
class
NXOPENCPP_TOOLINGEXPORT AssignPatchBuilder :
public
NXOpen::Builder
61
{
63
public
:
enum
Types
64
{
65
TypesPatchSurface
,
66
TypesPartingSurface
67
};
68
69
public
:
enum
ConvertTypeOption
70
{
71
ConvertTypeOptionWithCopies
,
72
ConvertTypeOptionNoCopies
73
};
74
private
:
AssignPatchBuilderImpl
* m_assignpatchbuilder_impl;
75
private
:
friend
class
_AssignPatchBuilderBuilder;
76
protected
:
AssignPatchBuilder
();
77
public
:
~AssignPatchBuilder
();
81
public
:
NXOpen::SelectBodyList
*
PatchSurfaces
82
(
83
);
87
public
:
NXOpen::Tooling::AssignPatchBuilder::ConvertTypeOption
ConvertType
88
(
89
);
93
public
:
void
SetConvertType
94
(
95
NXOpen::Tooling::AssignPatchBuilder::ConvertTypeOption
convertType
96
);
100
public
:
NXOpen::NXColor
*
PatchColor
101
(
102
);
106
public
:
void
SetPatchColor
107
(
108
NXOpen::NXColor
* patchColor
109
);
114
public
:
NX_DEPRECATED
(
"Deprecated in NX8.5.0. Use Tooling::AssignPatchBuilder::PatchColor instead."
) void GetPatchColor
115
(
116
double
* redValue ,
117
double
*
greenValue
,
118
double
*
blueValue
119
);
124
public:
NX_DEPRECATED
(
"Deprecated in NX8.5.0. Use Tooling::AssignPatchBuilder::SetPatchColor instead."
)
void
SetPatchColor
125
(
126
double
redValue ,
127
double
greenValue
,
128
double
blueValue
129
);
133
public:
NXOpen
::
NXColor
*
PartingColor
134
(
135
);
139
public:
void
SetPartingColor
140
(
141
NXOpen
::
NXColor
* partingColor
142
);
146
public:
bool
KeepSheet
147
(
148
);
152
public:
void
SetKeepSheet
153
(
154
bool
keepSheet
155
);
159
public:
NXOpen
::
Tooling
::AssignPatchBuilder::
Types
Type
160
(
161
);
165
public:
void
SetType
166
(
167
NXOpen
::
Tooling
::AssignPatchBuilder::
Types
type
168
);
172
public:
void
AddSelectFace
173
(
174
NXOpen
::
Body
* addFace
175
);
179
public:
void
InitOnEnter
180
(
181
);
185
public:
void
UpdateInitialCandidates
186
(
187
);
191
public:
void
PrepareAllRemovingSheets
192
(
193
const std::vector<
NXOpen
::
Body
*> & sheets
194
);
198
public:
void
ClearAddingCandidates
199
(
200
);
204
public:
int
GetNewCavityAndCorePartingProcessStatus
205
(
206
);
207
};
208
}
209
}
210
#ifdef _MSC_VER
211
#pragma warning(pop)
212
#endif
213
#ifdef __GNUC__
214
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
215
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
216
#endif
217
#endif
218
#undef EXPORTLIBRARY