NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Die_PadParentBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Die_PadParentBuilder的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Die_PadParentBuilder.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/Die.hxx>
22
#include <NXOpen/Features_FeatureBuilder.hxx>
23
#include <NXOpen/libnxopencpp_die_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
Die
34
{
35
class
PadParentBuilder
;
36
}
37
namespace
Die
38
{
39
class
PadChildBuilder
;
40
}
41
namespace
Features
42
{
43
class
FeatureBuilder
;
44
}
45
namespace
Die
46
{
47
class
_PadParentBuilderBuilder;
48
class
PadParentBuilderImpl;
52
class
NXOPENCPP_DIEEXPORT PadParentBuilder :
public
NXOpen::Features::FeatureBuilder
53
{
55
public
:
enum
ShapeTypeOption
56
{
57
ShapeTypeOptionRectangular
,
58
ShapeTypeOptionCircular
,
59
ShapeTypeOptionCurve
60
};
61
private
:
PadParentBuilderImpl
* m_padparentbuilder_impl;
62
private
:
friend
class
_PadParentBuilderBuilder;
63
protected
:
PadParentBuilder
();
64
public
:
~PadParentBuilder
();
68
public
:
void
SetSurfaceOffset
69
(
70
double
surfaceOffset
71
);
75
public
:
double
SurfaceOffset
76
(
77
);
81
public
:
void
SetLocationOffset
82
(
83
double
locationOffset
84
);
88
public
:
double
LocationOffset
89
(
90
);
94
public
:
void
SetDiameter
95
(
96
double
diameter
97
);
101
public
:
double
Diameter
102
(
103
);
107
public
:
void
SetLength
108
(
109
double
length
110
);
114
public
:
double
Length
115
(
116
);
120
public
:
void
SetWidth
121
(
122
double
width
123
);
127
public
:
double
Width
128
(
129
);
133
public
:
void
SetHeight
134
(
135
double
height
136
);
140
public
:
double
Height
141
(
142
);
146
public
:
void
SetReliefWidth
147
(
148
double
reliefWidth
149
);
153
public
:
double
ReliefWidth
154
(
155
);
159
public
:
void
SetReliefDepth
160
(
161
double
reliefDepth
162
);
166
public
:
double
ReliefDepth
167
(
168
);
172
public
:
void
SetHoleDiameter
173
(
174
double
holeDiameter
175
);
179
public
:
double
HoleDiameter
180
(
181
);
185
public
:
bool
CenterHole
186
(
187
);
191
public
:
void
SetCenterHole
192
(
193
bool
centerHole
194
);
198
public
:
bool
Relief
199
(
200
);
204
public
:
void
SetRelief
205
(
206
bool
relief
207
);
211
public
:
NXOpen::Die::PadParentBuilder::ShapeTypeOption
ShapeType
212
(
213
);
217
public
:
void
SetShapeType
218
(
219
NXOpen::Die::PadParentBuilder::ShapeTypeOption
shapeType
220
);
224
public
:
void
GetHoleAttributes
225
(
226
NXString
* title ,
227
NXString
* value ,
228
int
* color ,
229
NXString
* diameterTitle
230
);
234
public
:
void
SetHoleAttributes
235
(
236
const
NXString
& title ,
237
const
NXString
& value ,
238
int
color ,
239
const
NXString
& diameterTitle
240
);
244
void
SetHoleAttributes
245
(
246
const
char
* title ,
247
const
char
* value ,
248
int
color ,
249
const
char
* diameterTitle
250
);
254
public
:
void
GetPadAttributes
255
(
256
NXString
* title ,
257
NXString
* value ,
258
int
* color
259
);
263
public
:
void
SetPadAttributes
264
(
265
const
NXString
& title ,
266
const
NXString
& value ,
267
int
color
268
);
272
void
SetPadAttributes
273
(
274
const
char
* title ,
275
const
char
* value ,
276
int
color
277
);
281
public
:
void
GetReliefAttributes
282
(
283
NXString
* title ,
284
NXString
* value ,
285
int
* color
286
);
290
public
:
void
SetReliefAttributes
291
(
292
const
NXString
& title ,
293
const
NXString
& value ,
294
int
color
295
);
299
void
SetReliefAttributes
300
(
301
const
char
* title ,
302
const
char
* value ,
303
int
color
304
);
308
public
:
void
SetDesignStatus
309
(
310
bool
designStatus
311
);
315
public
:
bool
DesignStatus
316
(
317
);
321
public
:
NXOpen::Die::DieBuildStatusOption
BuildStatus
322
(
323
);
327
public
:
void
SetDisplayStatus
328
(
329
bool
displayStatus
330
);
334
public
:
bool
DisplayStatus
335
(
336
);
340
public
:
NXOpen::Die::PadChildBuilder
*
CreateChild
341
(
342
);
346
public
:
void
DeleteChild
347
(
348
NXOpen::Die::PadChildBuilder
* diepadchild
349
);
353
public
: std::vector<NXOpen::Die::PadChildBuilder *>
GetChildren
354
(
355
);
356
};
357
}
358
}
359
#ifdef _MSC_VER
360
#pragma warning(pop)
361
#endif
362
#ifdef __GNUC__
363
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
364
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
365
#endif
366
#endif
367
#undef EXPORTLIBRARY