NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_ChamferBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_ChamferBuilder.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/Expression.hxx>
22
#include <NXOpen/Features_FeatureBuilder.hxx>
23
#include <NXOpen/libnxopencpp_features_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
Features
34
{
35
class
ChamferBuilder
;
36
}
37
class
Expression
;
38
namespace
Features
39
{
40
class
FeatureBuilder
;
41
}
42
class
ScCollector
;
43
namespace
Features
44
{
45
class
_ChamferBuilderBuilder;
46
class
ChamferBuilderImpl;
51
class
NXOPENCPP_FEATURESEXPORT ChamferBuilder :
public
NXOpen::Features::FeatureBuilder
52
{
54
public
:
enum
ChamferOption
55
{
56
ChamferOptionSymmetricOffsets
,
57
ChamferOptionTwoOffsets
,
58
ChamferOptionOffsetAndAngle
59
};
60
61
public
:
enum
OffsetMethod
62
{
63
OffsetMethodEdgesAlongFaces
,
64
OffsetMethodFacesAndTrim
65
};
66
private
:
ChamferBuilderImpl
* m_chamferbuilder_impl;
67
private
:
friend
class
_ChamferBuilderBuilder;
68
protected
:
ChamferBuilder
();
69
public
:
~ChamferBuilder
();
73
public
:
void
SetSmartCollector
74
(
75
NXOpen::ScCollector
* sc
76
);
80
public
:
void
SetReverseOffsets
81
(
82
bool
reverse
83
);
87
public
:
void
SetAllInstances
88
(
89
bool
allInstances
90
);
100
public
:
void
SetOption
101
(
102
NXOpen::Features::ChamferBuilder::ChamferOption
opt
103
);
111
public
:
void
SetMethod
112
(
113
NXOpen::Features::ChamferBuilder::OffsetMethod
method
114
);
120
public
:
void
SetFirstOffset
121
(
122
const
NXString
& offsetExpression
123
);
129
void
SetFirstOffset
130
(
131
const
char
* offsetExpression
132
);
138
public
:
void
SetSecondOffset
139
(
140
const
NXString
& offsetExpression
141
);
147
void
SetSecondOffset
148
(
149
const
char
* offsetExpression
150
);
156
public
:
void
SetAngle
157
(
158
const
NXString
& angleExpression
159
);
165
void
SetAngle
166
(
167
const
char
* angleExpression
168
);
172
public
:
NXOpen::ScCollector
*
SmartCollector
173
(
174
);
178
public
:
bool
ReverseOffsets
179
(
180
);
184
public
:
bool
AllInstances
185
(
186
);
196
public
:
NXOpen::Features::ChamferBuilder::ChamferOption
Option
197
(
198
);
206
public
:
NXOpen::Features::ChamferBuilder::OffsetMethod
Method
207
(
208
);
214
public
:
NXString
FirstOffset
215
(
216
);
220
public
:
NXOpen::Expression
*
FirstOffsetExp
221
(
222
);
228
public
:
NXString
SecondOffset
229
(
230
);
234
public
:
NXOpen::Expression
*
SecondOffsetExp
235
(
236
);
242
public
:
NXString
Angle
243
(
244
);
248
public
:
NXOpen::Expression
*
AngleExp
249
(
250
);
254
public
:
int
CreatePreview
255
(
256
);
260
public
:
void
SetTolerance
261
(
262
double
tolerance
263
);
267
public
:
double
Tolerance
268
(
269
);
273
public
:
void
SetSaveFeature
274
(
275
bool
saveFeature
276
);
280
public
:
bool
SaveFeature
281
(
282
);
283
};
284
}
285
}
286
#ifdef _MSC_VER
287
#pragma warning(pop)
288
#endif
289
#ifdef __GNUC__
290
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
291
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
292
#endif
293
#endif
294
#undef EXPORTLIBRARY