NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Weld_DatumCommonBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Weld_DatumCommonBuilder.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/Builder.hxx>
23
#include <NXOpen/SelectObjectList.hxx>
24
#include <NXOpen/Weld_CharacteristicsBuilder.hxx>
25
#include <NXOpen/libnxopencpp_weld_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Weld
36
{
37
class
DatumCommonBuilder
;
38
}
39
namespace
Assemblies
40
{
41
class
SelectComponentList
;
42
}
43
class
Axis
;
44
class
Builder
;
45
class
Direction
;
46
class
Expression
;
47
class
SelectNXObjectList
;
48
namespace
Weld
49
{
50
class
CharacteristicsBuilder
;
51
}
52
namespace
Weld
53
{
54
class
_DatumCommonBuilderBuilder;
55
class
DatumCommonBuilderImpl;
59
class
NXOPENCPP_WELDEXPORT DatumCommonBuilder :
public
NXOpen::Builder
60
{
62
public
:
enum
CustomTypes
63
{
64
CustomTypesDefault
,
65
CustomTypesCustom1
,
66
CustomTypesCustom2
,
67
CustomTypesCustom3
,
68
CustomTypesCustom4
,
69
CustomTypesCustom5
,
70
CustomTypesCustom6
,
71
CustomTypesCustom7
72
};
73
74
public
:
enum
ControlMethodTypes
75
{
76
ControlMethodTypesPrincipalAxis
,
77
ControlMethodTypesUseSectionPlane
78
};
79
80
public
:
enum
SolidTypes
81
{
82
SolidTypesSphere
,
83
SolidTypesCylinder
,
84
SolidTypesCone
,
85
SolidTypesCuboid
,
86
SolidTypesHollow
,
87
SolidTypesArrow
,
88
SolidTypesNone
,
89
SolidTypesHourglass
90
};
91
92
public
:
enum
CreationDirectionMethods
93
{
94
CreationDirectionMethodsDefault
,
95
CreationDirectionMethodsOpposite
96
};
97
98
public
:
enum
SizeMethodTypes
99
{
100
SizeMethodTypesAutomatic
,
101
SizeMethodTypesManual
102
};
103
104
public
:
enum
PlaneMethodTypes
105
{
106
PlaneMethodTypesInferPlanes
,
107
PlaneMethodTypesParallelXCPlanes
,
108
PlaneMethodTypesParallelYCPlanes
,
109
PlaneMethodTypesParallelZCPlanes
,
110
PlaneMethodTypesSelectPlanes
,
111
PlaneMethodTypesUnknown
112
};
113
private
:
DatumCommonBuilderImpl
* m_datumcommonbuilder_impl;
114
private
:
friend
class
_DatumCommonBuilderBuilder;
115
protected
:
DatumCommonBuilder
();
116
public
:
~DatumCommonBuilder
();
120
public
:
NXString
CustomTypeName
121
(
122
);
126
public
:
void
SetCustomTypeName
127
(
128
const
NXString
& customTypeName
129
);
133
void
SetCustomTypeName
134
(
135
const
char
* customTypeName
136
);
140
public
:
bool
Derived
141
(
142
);
146
public
:
void
SetDerived
147
(
148
bool
derived
149
);
153
public
:
NXOpen::Axis
*
DirectionAxis
154
(
155
);
159
public
:
void
SetDirectionAxis
160
(
161
NXOpen::Axis
* directionAxis
162
);
166
public
:
bool
ProjectAlongDirection
167
(
168
);
172
public
:
void
SetProjectAlongDirection
173
(
174
bool
projectAlongDirection
175
);
179
public
:
NXOpen::Direction
*
SectionPlaneNormal
180
(
181
);
185
public
:
void
SetSectionPlaneNormal
186
(
187
NXOpen::Direction
* sectionPlaneNormal
188
);
192
public
:
NXOpen::Assemblies::SelectComponentList
*
AdditionalReferences
193
(
194
);
198
public
:
NXOpen::Weld::DatumCommonBuilder::ControlMethodTypes
ControlMethod
199
(
200
);
204
public
:
void
SetControlMethod
205
(
206
NXOpen::Weld::DatumCommonBuilder::ControlMethodTypes
controlMethod
207
);
211
public
:
NXOpen::Weld::DatumCommonBuilder::SolidTypes
SolidType
212
(
213
);
217
public
:
void
SetSolidType
218
(
219
NXOpen::Weld::DatumCommonBuilder::SolidTypes
solidType
220
);
224
public
:
bool
PrincipalAxisX
225
(
226
);
230
public
:
void
SetPrincipalAxisX
231
(
232
bool
principalAxisX
233
);
237
public
:
bool
PrincipalAxisY
238
(
239
);
243
public
:
void
SetPrincipalAxisY
244
(
245
bool
principalAxisY
246
);
250
public
:
bool
PrincipalAxisZ
251
(
252
);
256
public
:
void
SetPrincipalAxisZ
257
(
258
bool
principalAxisZ
259
);
263
public
:
double
XTolerance
264
(
265
);
269
public
:
void
SetXTolerance
270
(
271
double
xTolerance
272
);
276
public
:
double
YTolerance
277
(
278
);
282
public
:
void
SetYTolerance
283
(
284
double
xTolerance
285
);
289
public
:
double
ZTolerance
290
(
291
);
295
public
:
void
SetZTolerance
296
(
297
double
xTolerance
298
);
302
public
:
NXOpen::Weld::CharacteristicsBuilder
*
Characteristics
303
(
304
);
308
public
:
bool
Associative
309
(
310
);
314
public
:
void
SetAssociative
315
(
316
bool
associative
317
);
321
public
:
double
ModelingTolerance
322
(
323
);
327
public
:
void
SetModelingTolerance
328
(
329
double
modelingTolerance
330
);
334
public
:
double
PlaneHeight
335
(
336
);
340
public
:
void
SetPlaneHeight
341
(
342
double
planeHeight
343
);
347
public
:
double
PlaneWidth
348
(
349
);
353
public
:
void
SetPlaneWidth
354
(
355
double
planeWidth
356
);
360
public
:
double
DirectionLength
361
(
362
);
366
public
:
void
SetDirectionLength
367
(
368
double
directionLength
369
);
373
public
:
NXOpen::Weld::DatumCommonBuilder::CreationDirectionMethods
CreationDirection
374
(
375
);
379
public
:
void
SetCreationDirection
380
(
381
NXOpen::Weld::DatumCommonBuilder::CreationDirectionMethods
creationDirection
382
);
386
public
:
NXOpen::Weld::DatumCommonBuilder::SizeMethodTypes
SizeMethodType
387
(
388
);
392
public
:
void
SetSizeMethodType
393
(
394
NXOpen::Weld::DatumCommonBuilder::SizeMethodTypes
sizeMethodType
395
);
399
public
:
double
CustomRadius
400
(
401
);
405
public
:
void
SetCustomRadius
406
(
407
double
customRadius
408
);
412
public
:
NXOpen::Expression
*
RadiusExp
413
(
414
);
418
public
:
NXOpen::Expression
*
RotationAngle
419
(
420
);
424
public
:
double
CustomAboveLength
425
(
426
);
430
public
:
void
SetCustomAboveLength
431
(
432
double
directionLength
433
);
437
public
:
double
CustomTotalLength
438
(
439
);
443
public
:
void
SetCustomTotalLength
444
(
445
double
customTotalLength
446
);
450
public
:
double
SlotLength
451
(
452
);
456
public
:
void
SetSlotLength
457
(
458
double
slotLength
459
);
463
public
:
double
SlotWidth
464
(
465
);
469
public
:
void
SetSlotWidth
470
(
471
double
slotWidth
472
);
476
public
:
double
HoleDiameter
477
(
478
);
482
public
:
void
SetHoleDiameter
483
(
484
double
holeDiameter
485
);
489
public
:
bool
CreatePlane
490
(
491
);
495
public
:
void
SetCreatePlane
496
(
497
bool
createPlane
498
);
502
public
:
bool
CreateDirectionVector
503
(
504
);
508
public
:
void
SetCreateDirectionVector
509
(
510
bool
createDirectionVector
511
);
515
public
:
bool
CreatePoint
516
(
517
);
521
public
:
void
SetCreatePoint
522
(
523
bool
createPoint
524
);
528
public
:
void
UpdateWithDerivedDatum
529
(
530
);
534
public
:
NXString
DerivedParentID
535
(
536
);
540
public
:
void
SetDerivedParentID
541
(
542
const
NXString
& parentDatumID
543
);
547
void
SetDerivedParentID
548
(
549
const
char
* parentDatumID
550
);
554
public
:
NXOpen::Weld::DatumCommonBuilder::CustomTypes
CustomType
555
(
556
);
560
public
:
void
SetCustomType
561
(
562
NXOpen::Weld::DatumCommonBuilder::CustomTypes
customType
563
);
567
public
:
NXOpen::Weld::DatumCommonBuilder::PlaneMethodTypes
PlaneMethod
568
(
569
);
573
public
:
void
SetPlaneMethod
574
(
575
NXOpen::Weld::DatumCommonBuilder::PlaneMethodTypes
planeMethod
576
);
580
public
:
NXOpen::SelectNXObjectList
*
UserPlane
581
(
582
);
583
};
584
}
585
}
586
#ifdef _MSC_VER
587
#pragma warning(pop)
588
#endif
589
#ifdef __GNUC__
590
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
591
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
592
#endif
593
#endif
594
#undef EXPORTLIBRARY