NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_RemoveHolesBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Tooling_RemoveHolesBuilder.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/ScCollector.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
RemoveHolesBuilder
;
36
}
37
class
Builder
;
38
class
Edge
;
39
class
Face
;
40
class
NXObject
;
41
class
ScCollector
;
42
namespace
Tooling
43
{
44
class
_RemoveHolesBuilderBuilder;
45
class
RemoveHolesBuilderImpl;
62
class
NXOPENCPP_TOOLINGEXPORT RemoveHolesBuilder :
public
NXOpen::Builder
63
{
65
public
:
enum
SelectionTypes
66
{
67
SelectionTypesBody
,
68
SelectionTypesFace
69
};
70
private
:
RemoveHolesBuilderImpl
* m_removeholesbuilder_impl;
71
private
:
friend
class
_RemoveHolesBuilderBuilder;
72
protected
:
RemoveHolesBuilder
();
73
public
:
~RemoveHolesBuilder
();
77
public
:
NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes
SelectionType
78
(
79
);
83
public
:
void
SetSelectionType
84
(
85
NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes
selType
86
);
90
public
:
NXOpen::ScCollector
*
BodySelection
91
(
92
);
96
public
:
NXOpen::ScCollector
*
FaceToPatch
97
(
98
);
102
public
:
NXOpen::ScCollector
*
HoleFace
103
(
104
);
108
public
:
void
AddHolesData
109
(
110
const
std::vector<NXOpen::Edge *> & edges ,
111
const
std::vector<NXOpen::Face *> & faces
112
);
116
public
:
void
SetHighlight
117
(
118
NXOpen::NXObject
*
object
,
119
bool
highlight
120
);
124
public
:
void
RemoveHoleData
125
(
126
const
NXString
& holeName
127
);
131
void
RemoveHoleData
132
(
133
const
char
* holeName
134
);
138
public
:
void
ClearHoleData
139
(
140
);
144
public
:
bool
MergeOutput
145
(
146
);
150
public
:
void
SetMergeOutput
151
(
152
bool
mergeOutput
153
);
157
public
:
NXOpen::NXObject
*
CurrentBody
158
(
159
);
163
public
:
void
SetCurrentBody
164
(
165
NXOpen::NXObject
*
object
166
);
167
};
168
}
169
}
170
#ifdef _MSC_VER
171
#pragma warning(pop)
172
#endif
173
#ifdef __GNUC__
174
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
175
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
176
#endif
177
#endif
178
#undef EXPORTLIBRARY