NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Weld_JointmarkBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Weld_JointmarkBuilder.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/ObjectList.hxx>
24
#include <NXOpen/SelectObjectList.hxx>
25
#include <NXOpen/Weld_CharacteristicsBuilder.hxx>
26
#include <NXOpen/Weld_ConnectedPart.hxx>
27
#include <NXOpen/Weld_JointmarkFaceSetsBuilder.hxx>
28
#include <NXOpen/Weld_JointmarkGuideBuilder.hxx>
29
#include <NXOpen/Weld_JointmarkPointsBuilder.hxx>
30
#include <NXOpen/libnxopencpp_weld_exports.hxx>
31
#ifdef _MSC_VER
32
#pragma warning(push)
33
#pragma warning(disable:4996)
34
#endif
35
#ifdef __GNUC__
36
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
37
#endif
38
namespace
NXOpen
39
{
40
namespace
Weld
41
{
42
class
JointmarkBuilder
;
43
}
44
class
CoordinateSystem
;
45
class
Curve
;
46
class
Direction
;
47
class
Edge
;
48
class
Expression
;
49
namespace
Features
50
{
51
class
Feature
;
52
}
53
namespace
Features
54
{
55
class
FeatureBuilder
;
56
}
57
namespace
Features
58
{
59
class
SelectFeatureList
;
60
}
61
class
NXObject
;
62
class
Plane
;
63
class
SelectPointList
;
64
class
SelectTaggedObjectList
;
65
namespace
Weld
66
{
67
class
CharacteristicsBuilder
;
68
}
69
namespace
Weld
70
{
71
class
ConnectedPart
;
72
}
73
namespace
Weld
74
{
75
class
JointmarkFaceSetsBuilder
;
76
}
77
namespace
Weld
78
{
79
class
JointmarkFaceSetsBuilderList
;
80
}
81
namespace
Weld
82
{
83
class
JointmarkGuideBuilder
;
84
}
85
namespace
Weld
86
{
87
class
JointmarkGuideBuilderList
;
88
}
89
namespace
Weld
90
{
91
class
JointmarkPointsBuilder
;
92
}
93
namespace
Weld
94
{
95
class
JointmarkPointsBuilderList
;
96
}
97
namespace
Weld
98
{
99
class
_JointmarkBuilderBuilder;
100
class
JointmarkBuilderImpl;
137
class
NXOPENCPP_WELDEXPORT JointmarkBuilder :
public
NXOpen::Features::FeatureBuilder
138
{
140
public
:
enum
Method
141
{
142
MethodGuideCurve
,
143
MethodMirror
,
144
MethodPoints
,
145
MethodTranslate
,
146
MethodExistingPoints
147
};
148
149
public
:
enum
ConnectPartTypes
150
{
151
ConnectPartTypesAllUniqueParts
,
152
ConnectPartTypesOnlyOnePart
,
153
ConnectPartTypesIgnoreFiltering
154
};
155
156
public
:
enum
ReferenceSheetTypes
157
{
158
ReferenceSheetTypesOverlap
,
159
ReferenceSheetTypesTop
160
};
161
162
public
:
enum
ConnectedPanelTypes
163
{
164
ConnectedPanelTypesTwo
,
165
ConnectedPanelTypesThree
,
166
ConnectedPanelTypesFour
167
};
168
169
public
:
enum
ReuseMethod
170
{
171
ReuseMethodSameConnectingParts
,
172
ReuseMethodAnyConnectingParts
173
};
174
175
public
:
enum
ProjectionDirectionOptions
176
{
177
ProjectionDirectionOptionsNone
,
178
ProjectionDirectionOptionsAlongFaceNormal
,
179
ProjectionDirectionOptionsPricipalAxis
,
180
ProjectionDirectionOptionsX
,
181
ProjectionDirectionOptionsY
,
182
ProjectionDirectionOptionsZ
183
};
184
185
public
:
enum
OrientationMethodTypes
186
{
187
OrientationMethodTypesSurfaceNormal
,
188
OrientationMethodTypesCoordinateSystem
189
};
190
private
:
JointmarkBuilderImpl
* m_jointmarkbuilder_impl;
191
private
:
friend
class
_JointmarkBuilderBuilder;
192
protected
:
JointmarkBuilder
();
193
public
:
~JointmarkBuilder
();
197
public
:
NXOpen::Weld::JointmarkBuilder::Method
ConstructionMethod
198
(
199
);
203
public
:
void
SetConstructionMethod
204
(
205
NXOpen::Weld::JointmarkBuilder::Method
method
206
);
210
public
:
NXOpen::Weld::JointmarkBuilder::ReuseMethod
ReuseFeaturesMethod
211
(
212
);
216
public
:
void
SetReuseFeaturesMethod
217
(
218
NXOpen::Weld::JointmarkBuilder::ReuseMethod
reuseMethod
219
);
223
public
:
bool
Associativity
224
(
225
);
229
public
:
void
SetAssociativity
230
(
231
bool
associativity
232
);
236
public
:
NXOpen::SelectTaggedObjectList
*
SelectMirrorObject
237
(
238
);
242
public
:
NXOpen::Plane
*
Plane
243
(
244
);
248
public
:
void
SetPlane
249
(
250
NXOpen::Plane
* plane
251
);
255
public
:
NXOpen::SelectTaggedObjectList
*
SelectTranslateObject
256
(
257
);
261
public
:
NXOpen::CoordinateSystem
*
TranslateCsys
262
(
263
);
267
public
:
void
SetTranslateCsys
268
(
269
NXOpen::CoordinateSystem
* csys
270
);
274
public
:
NXOpen::Expression
*
TranslateX
275
(
276
);
280
public
:
NXOpen::Expression
*
TranslateY
281
(
282
);
286
public
:
NXOpen::Expression
*
TranslateZ
287
(
288
);
293
public
:
NX_DEPRECATED
(
"Deprecated in NX1872.0.0. Use JA_JOINTMARK_BUILDER_get_ConnectPartType instead."
) bool ConnectPart
294
(
295
);
300
public:
NX_DEPRECATED
(
"Deprecated in NX1872.0.0. Use JA_JOINTMARK_BUILDER_set_ConnectPartType instead."
)
void
SetConnectPart
301
(
302
bool
connectPart
303
);
307
public:
NXOpen
::
Weld
::JointmarkBuilder::
ConnectPartTypes
ConnectPartType
308
(
309
);
313
public:
void
SetConnectPartType
314
(
315
NXOpen
::
Weld
::JointmarkBuilder::
ConnectPartTypes
connectPart
316
);
320
public:
NXOpen
::
Weld
::JointmarkBuilder::
ReferenceSheetTypes
ReferenceSheetType
321
(
322
);
326
public:
void
SetReferenceSheetType
327
(
328
NXOpen
::
Weld
::JointmarkBuilder::
ReferenceSheetTypes
refSheet
329
);
333
public:
NXOpen
::
Weld
::
JointmarkFaceSetsBuilderList
*
FaceSetsList
334
(
335
);
339
public:
NXOpen
::
Weld
::
JointmarkGuideBuilderList
*
GuideCurvesList
340
(
341
);
345
public:
NXOpen
::
SelectPointList
*
SelectPointsObject
346
(
347
);
351
public:
NXOpen
::
Direction
*
Vector
352
(
353
);
357
public:
void
SetVector
358
(
359
NXOpen
::
Direction
* vector
360
);
364
public:
void
UpdateFeatures
365
(
366
);
370
public:
void
UpdatePoint
371
(
372
);
376
public:
void
RediscoverFaces
377
(
378
);
382
public:
void
CreateReferenceData
383
(
384
);
388
public:
void
DeleteReferenceData
389
(
390
);
394
public:
NXOpen
::
Weld
::
JointmarkPointsBuilderList
*
PointList
395
(
396
);
400
public:
NXOpen
::
Weld
::
CharacteristicsBuilder
*
Characteristics
401
(
402
);
406
public:
void
SetDisplayCsys
407
(
408
bool
status
409
);
413
public:
void
SetShowThruState
414
(
415
bool
status
416
);
420
public:
double
DistanceTolerance
421
(
422
);
426
public:
void
SetDistanceTolerance
427
(
428
double
distanceTolerance
429
);
433
public:
NXOpen
::
Weld
::
JointmarkGuideBuilder
*
NewGuide
434
(
435
);
439
public:
NXOpen
::
Weld
::
JointmarkFaceSetsBuilder
*
NewFaceSets
440
(
441
);
445
public:
NXOpen
::
Weld
::
JointmarkPointsBuilder
*
NewPoints
446
(
447
);
451
public:
NXOpen
::
Features
::
Feature
*
UpdateReferenceSheet
452
(
453
bool
facesModified
454
);
458
public:
NXOpen
::
Features
::
Feature
*
GetReferenceSheet
459
(
460
);
464
public:
void
GetSheetEdges
465
(
466
std::vector<
NXOpen
::
Edge
*> & edges
467
);
471
public:
NXOpen
::
Curve
*
CreateSymbolCurve
472
(
473
const
NXString
& path ,
474
const
NXString
& name
475
);
479
NXOpen
::
Curve
*
CreateSymbolCurve
480
(
481
const
char
* path ,
482
const
char
* name
483
);
487
public:
void
AppendPoints
488
(
489
bool
mode ,
490
NXOpen
::
Curve
* curve
491
);
495
public:
NXOpen
::
Weld
::JointmarkBuilder::
ProjectionDirectionOptions
ProjectionDirectionOption
496
(
497
);
501
public:
void
SetProjectionDirectionOption
502
(
503
NXOpen
::
Weld
::JointmarkBuilder::
ProjectionDirectionOptions
projectionOption
504
);
508
public:
NXOpen
::
Weld
::JointmarkBuilder::
ConnectedPanelTypes
ConnectedPanelType
509
(
510
);
514
public:
void
SetConnectedPanelType
515
(
516
NXOpen
::
Weld
::JointmarkBuilder::
ConnectedPanelTypes
method
517
);
521
public:
void
MapFeaturesToPoints
522
(
523
);
527
public:
void
FromReuseFeatures
528
(
529
bool
* faceSetsUpdated ,
530
bool
* guideCurvesUpdated ,
531
bool
* pointSelectionUpdated
532
);
536
public:
NXOpen
::
Features
::SelectFeatureList *
ReuseFeatures
537
(
538
);
542
public:
NXOpen
::
Weld
::JointmarkBuilder::
OrientationMethodTypes
OrientationMethod
543
(
544
);
548
public:
void
SetOrientationMethod
549
(
550
NXOpen
::
Weld
::JointmarkBuilder::
OrientationMethodTypes
orientationMethod
551
);
555
public:
bool
ShowWorkCsys
556
(
557
);
561
public:
void
SetShowWorkCsys
562
(
563
bool
showWorkCsys
564
);
568
public:
NXOpen
::
CoordinateSystem
*
FixedCsys
569
(
570
);
574
public:
void
SetFixedCsys
575
(
576
NXOpen
::
CoordinateSystem
* fixedCsys
577
);
581
public:
bool
CreateSingleFeatures
582
(
583
);
587
public:
void
SetCreateSingleFeatures
588
(
589
bool
createSingleFeatures
590
);
594
public:
bool
NotifyIfParentPointMoved
595
(
596
);
600
public:
void
SetNotifyIfParentPointMoved
601
(
602
bool
notifyIfParentPointMoved
603
);
607
public:
void
GetSelectedReferences
608
(
609
std::vector<
NXOpen
::
NXObject
*> & references
610
);
614
public:
void
GetCreateReferenceDataMessages
615
(
616
std::vector<
NXString
> & messages
617
);
621
public:
void
MoveReferenceSheet
622
(
623
);
632
public:
NXOpen
::
Weld
::
ConnectedPart
*
AskConnectedFaces
633
(
634
);
635
};
636
}
637
}
638
#ifdef _MSC_VER
639
#pragma warning(pop)
640
#endif
641
#ifdef __GNUC__
642
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
643
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
644
#endif
645
#endif
646
#undef EXPORTLIBRARY