NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Weld_WeldObjectBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Weld_WeldObjectBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_weld_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
Weld
34
{
35
class
WeldObjectBuilder
;
36
}
37
namespace
Features
38
{
39
class
Feature
;
40
}
41
namespace
GeometricUtilities
42
{
43
class
IComponentBuilder
;
44
}
45
namespace
Weld
46
{
47
class
_WeldObjectBuilderBuilder;
48
class
WeldObjectBuilderImpl;
52
class
NXOPENCPP_WELDEXPORT WeldObjectBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
53
{
55
public
:
enum
CommandName
56
{
57
CommandNameNone
,
58
CommandNameGroove
,
59
CommandNameFillet
,
60
CommandNameUserDefined
,
61
CommandNameWeldPoint
,
62
CommandNameBead
,
63
CommandNameFill
,
64
CommandNameImportCsv
,
65
CommandNameEasySpot
,
66
CommandNameDatumLocator
,
67
CommandNameMeasurementLocator
,
68
CommandNameEasyMeasurementPattern
,
69
CommandNamePlugSlot
,
70
CommandNameJoint
,
71
CommandNameDatumSurface
,
72
CommandNameDatumEdge
,
73
CommandNameSurfaceWeld
,
74
CommandNameCompound
,
75
CommandNameWeldAttribute
,
76
CommandNameJointDefinition
,
77
CommandNameJointmark
,
78
CommandNameWeldPointWizard
,
79
CommandNameTransform
,
80
CommandNameDatumPin
81
};
82
84
public
:
85
struct
FeatureInfo
86
{
87
public
:
NXOpen::Features::Feature
*
Feature
;
88
public
:
bool
IsNewlyCreated
;
89
public
: FeatureInfo() :
90
Feature
(),
91
IsNewlyCreated
()
92
{
93
}
95
public
:
FeatureInfo
(
NXOpen::Features::Feature
* featureInitial ,
96
bool
isNewlyCreatedInitial ) :
97
Feature
(featureInitial),
98
IsNewlyCreated
(isNewlyCreatedInitial)
99
{
100
}
101
};
102
private
:
WeldObjectBuilderImpl
* m_weldobjectbuilder_impl;
103
private
:
friend
class
_WeldObjectBuilderBuilder;
104
protected
:
WeldObjectBuilder
();
105
public
:
~WeldObjectBuilder
();
109
public
:
NXOpen::Weld::WeldObjectBuilder::CommandName
CommandUsed
110
(
111
);
115
public
:
void
GetFeatureInformation
116
(
117
std::vector<NXOpen::Weld::WeldObjectBuilder::FeatureInfo> & features
118
);
123
public
:
virtual
bool
Validate
124
(
125
);
126
};
127
}
128
}
129
#ifdef _MSC_VER
130
#pragma warning(pop)
131
#endif
132
#ifdef __GNUC__
133
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
134
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
135
#endif
136
#endif
137
#undef EXPORTLIBRARY