NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_PathStockBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_PathStockBuilder.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/Routing_CharacteristicList.hxx>
24
#include <NXOpen/libnxopencpp_routing_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Routing
35
{
36
class
PathStockBuilder
;
37
}
38
namespace
Assemblies
39
{
40
class
Component
;
41
}
42
class
Builder
;
43
class
Expression
;
44
class
NXObject
;
45
namespace
Routing
46
{
47
class
CharacteristicList
;
48
}
49
namespace
Routing
50
{
51
class
ISegment
;
52
}
53
namespace
Routing
54
{
55
class
Stock
;
56
}
57
namespace
Routing
58
{
59
class
_PathStockBuilderBuilder;
60
class
PathStockBuilderImpl;
65
class
NXOPENCPP_ROUTINGEXPORT PathStockBuilder :
public
NXOpen::Builder
66
{
68
public
:
enum
AssignMethod
69
{
70
AssignMethodNone
,
71
AssignMethodDefaultStock
,
72
AssignMethodFromStartObject
,
73
AssignMethodDiameterValue
,
74
AssignMethodRectangular
,
75
AssignMethodFlatOval
,
76
AssignMethodSpecifiedStock
,
77
AssignMethodFromParts
78
};
79
80
public
:
enum
AssignStockType
81
{
82
AssignStockTypeStock
,
83
AssignStockTypeOverstock
,
84
AssignStockTypeFiller
,
85
AssignStockTypeSpaceReservation
86
};
87
private
:
PathStockBuilderImpl
* m_pathstockbuilder_impl;
88
private
:
friend
class
_PathStockBuilderBuilder;
89
protected
:
PathStockBuilder
();
90
public
:
~PathStockBuilder
();
94
public
:
NXOpen::Routing::PathStockBuilder::AssignMethod
AssignStockMethod
95
(
96
);
100
public
:
void
SetAssignStockMethod
101
(
102
NXOpen::Routing::PathStockBuilder::AssignMethod
method
103
);
109
public
:
NXOpen::NXObject
*
StartObject
110
(
111
);
117
public
:
void
SetStartObject
118
(
119
NXOpen::NXObject
* startObject
120
);
124
public
:
void
AssignStock
125
(
126
const
std::vector<NXOpen::Routing::ISegment *> & segments
127
);
133
public
:
double
DiameterValue
134
(
135
);
141
public
:
void
SetDiameterValue
142
(
143
double
val
144
);
148
public
:
void
UpdateExistingStock
149
(
150
NXOpen::Routing::Stock
* existingStock
151
);
159
public
:
NXOpen::Routing::CharacteristicList
*
GetSpecifiedStock
160
(
161
);
167
public
:
void
GetSpecifiedStock
168
(
169
NXOpen::Routing::CharacteristicList
** stockPart ,
172
NXOpen::Routing::CharacteristicList
** appliedCharx
173
);
179
public
:
void
SetSpecifiedStock
180
(
181
NXOpen::Routing::CharacteristicList
* stockPart
184
);
190
public
:
void
SetSpecifiedStock
191
(
192
NXOpen::Routing::CharacteristicList
* stockPart ,
195
NXOpen::Routing::CharacteristicList
* appliedCharx
196
);
200
public
:
NXOpen::Routing::PathStockBuilder::AssignStockType
StockType
201
(
202
);
206
public
:
void
SetStockType
207
(
208
NXOpen::Routing::PathStockBuilder::AssignStockType
stockType
209
);
215
public
:
NXOpen::Expression
*
RectangularHeight
216
(
217
);
223
public
:
NXOpen::Expression
*
RectangularWidth
224
(
225
);
231
public
:
NXOpen::Expression
*
RectangularRotation
232
(
233
);
239
public
:
NXOpen::Expression
*
FlatOvalHeight
240
(
241
);
247
public
:
NXOpen::Expression
*
FlatOvalWidth
248
(
249
);
255
public
:
NXOpen::Expression
*
FlatOvalRotation
256
(
257
);
261
public
:
NXOpen::Expression
*
StockRotation
262
(
263
);
269
public
: std::vector<NXOpen::Assemblies::Component *>
GetParts
270
(
271
);
277
public
:
void
SetParts
278
(
279
const
std::vector<NXOpen::Assemblies::Component *> & parts
280
);
284
public
:
void
SettingsChanged
285
(
286
);
290
public
:
void
GetRectangularDimensions
291
(
292
double
* height ,
293
double
* width
294
);
298
public
:
void
SetRectangularDimensions
299
(
300
double
height ,
301
double
width
302
);
306
public
:
void
GetFlatOvalDimensions
307
(
308
double
* height ,
309
double
* width
310
);
314
public
:
void
SetFlatOvalDimensions
315
(
316
double
height ,
317
double
width
318
);
322
public
:
void
SetSelectedStock
323
(
324
NXOpen::Routing::Stock
* stock
325
);
329
public
:
bool
IsRotationOverriden
330
(
331
);
335
public
:
void
OverrideRotation
336
(
337
bool
overrideRotation
338
);
342
public
:
bool
DefaultOrientationAlignmentEnabled
343
(
344
);
348
public
:
void
EnableDefaultOrientationAlignment
349
(
350
bool
suggestRotationAngle
351
);
352
};
353
}
354
}
355
#ifdef _MSC_VER
356
#pragma warning(pop)
357
#endif
358
#ifdef __GNUC__
359
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
360
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
361
#endif
362
#endif
363
#undef EXPORTLIBRARY