NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_OverflowBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Tooling_OverflowBuilder.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/Builder.hxx>
22
#include <NXOpen/ScCollector.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/Tooling_CloneObject.hxx>
25
#include <NXOpen/Tooling_SpreadsheetData.hxx>
26
#include <NXOpen/Tooling_StandardPartData.hxx>
27
#include <NXOpen/ugmath.hxx>
28
#include <NXOpen/libnxopencpp_tooling_exports.hxx>
29
#ifdef _MSC_VER
30
#pragma warning(push)
31
#pragma warning(disable:4996)
32
#endif
33
#ifdef __GNUC__
34
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35
#endif
36
namespace
NXOpen
37
{
38
namespace
Tooling
39
{
40
class
OverflowBuilder
;
41
}
42
namespace
Assemblies
43
{
44
class
Component
;
45
}
46
namespace
Assemblies
47
{
48
class
SelectComponent
;
49
}
50
class
Builder
;
51
class
Point
;
52
class
ScCollector
;
53
namespace
Tooling
54
{
55
class
CloneObject
;
56
}
57
namespace
Tooling
58
{
59
class
SpreadsheetData
;
60
}
61
namespace
Tooling
62
{
63
class
StandardPartData
;
64
}
65
namespace
Tooling
66
{
67
class
_OverflowBuilderBuilder;
68
class
OverflowBuilderImpl;
87
class
NXOPENCPP_TOOLINGEXPORT OverflowBuilder :
public
NXOpen::Builder
88
{
90
public
:
enum
ComponentTypes
91
{
92
ComponentTypesAddInstance
,
93
ComponentTypesNewComponent
,
94
ComponentTypesModify
95
};
96
private
:
OverflowBuilderImpl
* m_overflowbuilder_impl;
97
private
:
friend
class
_OverflowBuilderBuilder;
98
protected
:
OverflowBuilder
();
99
public
:
~OverflowBuilder
();
103
public
:
NXOpen::Assemblies::SelectComponent
*
OverflowComponent
104
(
105
);
109
public
:
bool
AlignedToAxis
110
(
111
);
115
public
:
void
SetAlignedToAxis
116
(
117
bool
aligned
118
);
122
public
:
bool
Rename
123
(
124
);
128
public
:
void
SetRename
129
(
130
bool
rename
131
);
135
public
:
NXOpen::ScCollector
*
PastePosition
136
(
137
);
141
public
:
void
SetSpreadsheetData
142
(
143
NXOpen::Tooling::SpreadsheetData
* sheetData
144
);
148
public
:
void
SetOverflowClientData
149
(
150
NXOpen::Tooling::StandardPartData
* clientData
151
);
155
public
:
void
SetClientDataWithSelectedItem
156
(
157
const
NXString
& catalogName ,
158
const
NXString
& descriptiveName
159
);
163
void
SetClientDataWithSelectedItem
164
(
165
const
char
* catalogName ,
166
const
char
* descriptiveName
167
);
171
public
:
void
ReadOverflowClientDataFromLibrary
172
(
173
bool
isFromMemberView ,
174
const
NXString
& libName ,
175
const
NXString
& libPath
176
);
180
void
ReadOverflowClientDataFromLibrary
181
(
182
bool
isFromMemberView ,
183
const
char
* libName ,
184
const
char
* libPath
185
);
189
public
:
void
SetManipulatorPosition
190
(
191
const
NXOpen::Matrix3x3
& matrix ,
192
const
NXOpen::Point3d
& position
193
);
197
public
:
void
PreviewOverflowComponent
198
(
199
NXOpen::Point
* previewPoint
200
);
204
public
:
void
EditComponentDimensions
205
(
206
NXOpen::Assemblies::Component
* addedPartOcc
207
);
211
public
:
void
LocateOverflowComponentInLibAndUpdateSpreadsheet
212
(
213
NXOpen::Assemblies::Component
* addedPartOcc ,
214
NXOpen::Tooling::SpreadsheetData
* sheetData
215
);
219
public
:
void
CreateCloneObject
220
(
221
);
225
public
:
NXOpen::Tooling::CloneObject
*
GetCloneObject
226
(
227
);
231
public
:
void
StoreEditingComponentPosition
232
(
233
const
NXOpen::Matrix3x3
& matrix ,
234
const
NXOpen::Point3d
& position
235
);
239
public
:
NXOpen::Tooling::OverflowBuilder::ComponentTypes
ComponentType
240
(
241
);
245
public
:
void
SetComponentType
246
(
247
NXOpen::Tooling::OverflowBuilder::ComponentTypes
type
248
);
252
public
:
void
CalculateMatrixAlongCurveNormal
253
(
254
);
258
public
:
void
DeleteOverflowComponent
259
(
260
);
264
public
:
void
UpdateComponentAlignedToAxis
265
(
266
);
270
public
:
void
SetParentAsWorkPart
271
(
272
const
NXString
& partAttributeName
273
);
277
void
SetParentAsWorkPart
278
(
279
const
char
* partAttributeName
280
);
284
public
:
void
ReverseComponent
285
(
286
);
290
public
:
void
SetNewName
291
(
292
bool
bNewName
293
);
297
public
:
void
SetActiveOverflowComponent
298
(
299
NXOpen::Assemblies::Component
* activePartOcc
300
);
301
};
302
}
303
}
304
#ifdef _MSC_VER
305
#pragma warning(pop)
306
#endif
307
#ifdef __GNUC__
308
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
309
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
310
#endif
311
#endif
312
#undef EXPORTLIBRARY