NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PartMfg_Element.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PartMfg_Element.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/NXObject.hxx>
22
#include <NXOpen/libpartmfgopencpp_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
PartMfg
33
{
34
class
Element
;
35
}
36
class
NXObject
;
37
class
Part
;
38
namespace
PartMfg
39
{
40
class
_ElementBuilder;
41
class
ElementImpl;
46
class
PARTMFGOPENCPPEXPORT Element :
public
NXOpen::NXObject
47
{
49
public
:
enum
ElementTypes
50
{
51
ElementTypesAdHoc
,
52
ElementTypesFolder
,
53
ElementTypesMaterial
,
54
ElementTypesModel
,
55
ElementTypesOperation
,
56
ElementTypesStep
,
57
ElementTypesRole
,
58
ElementTypesResource
,
59
ElementTypesDocument
60
};
61
private
:
ElementImpl
* m_element_impl;
62
private
:
friend
class
_ElementBuilder;
63
protected
:
Element
();
64
public
:
~Element
();
68
public
:
void
SetName
69
(
70
const
NXString
& name
71
);
75
void
SetName
76
(
77
const
char
* name
78
);
82
public
:
void
SetNextInSequence
83
(
84
NXOpen::PartMfg::Element
* nextElementInSequence
85
);
89
public
:
void
AttachProcessDocument
90
(
91
const
NXString
& processDocument
92
);
96
void
AttachProcessDocument
97
(
98
const
char
* processDocument
99
);
103
public
:
void
RemoveProcessDocument
104
(
105
const
NXString
& processDocument
106
);
110
void
RemoveProcessDocument
111
(
112
const
char
* processDocument
113
);
117
public
:
NXOpen::PartMfg::Element::ElementTypes
GetElementType
118
(
119
);
123
public
:
NXOpen::Part
*
OpenStyleSheetForReview
124
(
125
);
129
public
:
void
SetElementSequence
130
(
131
const
NXString
& sequence
132
);
136
void
SetElementSequence
137
(
138
const
char
* sequence
139
);
143
public
:
NXString
GetElementSequence
144
(
145
);
149
public
:
void
SetElementDescription
150
(
151
const
NXString
& description
152
);
156
void
SetElementDescription
157
(
158
const
char
* description
159
);
163
public
:
NXString
GetElementDescription
164
(
165
);
169
public
:
void
SetElementExpandState
170
(
171
bool
expandState
172
);
176
public
:
bool
GetElementExpandState
177
(
178
);
182
public
:
void
GetChildren
183
(
184
std::vector<NXOpen::PartMfg::Element *> & children
185
);
189
public
:
NXString
GetSubtype
190
(
191
);
195
public
:
NXString
GetSubtypeLibrarySourceSpecifiction
196
(
197
);
201
public
:
NXString
GetWorkInstructionTemplateSpecification
202
(
203
);
208
public
:
NXString
GetWorkInstructionSpecification
209
(
210
);
211
};
212
}
213
}
214
#ifdef _MSC_VER
215
#pragma warning(pop)
216
#endif
217
#ifdef __GNUC__
218
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
219
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
220
#endif
221
#endif
222
#undef EXPORTLIBRARY