NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_RoutingPath.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 管路设计API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_RoutingPath.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/Routing_CharacteristicList.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_preferences_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
Preferences
34
{
35
class
RoutingPath
;
36
}
37
namespace
Preferences
38
{
39
class
RoutingApplicationView
;
40
}
41
namespace
Routing
42
{
43
class
CharacteristicList
;
44
}
45
namespace
Preferences
46
{
47
class
RoutingPathImpl;
51
class
NXOPENCPP_PREFERENCESEXPORT
RoutingPath
52
{
54
public
:
enum
CurveType
55
{
56
CurveTypeLine
,
57
CurveTypeArc
,
58
CurveTypeSpline
59
};
60
61
public
:
enum
AllowedCornerType
62
{
63
AllowedCornerTypeNone
,
64
AllowedCornerTypeBend
,
65
AllowedCornerTypeCope
,
66
AllowedCornerTypeMiter
,
67
AllowedCornerTypeSbend
68
};
69
70
public
:
enum
DefaultCornerType
71
{
72
DefaultCornerTypeNone
= -1,
73
DefaultCornerTypeBend
,
74
DefaultCornerTypeMiter
,
75
DefaultCornerTypeBendTable
77
};
78
79
public
:
enum
RadiusMethod
80
{
81
RadiusMethodRadius
,
82
RadiusMethodRatio
,
83
RadiusMethodTable
,
84
RadiusMethodInnerRadius
,
85
RadiusMethodRatioToAttribute
86
};
87
88
public
:
enum
RadiusUnits
89
{
90
RadiusUnitsNone
,
91
RadiusUnitsInches
,
92
RadiusUnitsMillimeters
93
};
94
95
public
:
enum
CreateSmartRcps
96
{
97
CreateSmartRcpsFalse
,
98
CreateSmartRcpsTrue
99
};
100
101
public
:
enum
MergeDupRcps
102
{
103
MergeDupRcpsFalse
,
104
MergeDupRcpsTrue
105
};
106
107
public
:
enum
CreateTangency
108
{
109
CreateTangencyFalse
,
110
CreateTangencyTrue
111
};
112
113
public
:
enum
AddPointsToSpline
114
{
115
AddPointsToSplineFalse
,
116
AddPointsToSplineTrue
117
};
118
119
public
:
enum
ConfirmBranchSel
120
{
121
ConfirmBranchSelFalse
,
122
ConfirmBranchSelTrue
123
};
124
125
public
:
enum
ContinueUpdOnError
126
{
127
ContinueUpdOnErrorFalse
,
128
ContinueUpdOnErrorTrue
129
};
130
131
public
:
enum
DisplayObject
132
{
133
DisplayObjectFalse
,
134
DisplayObjectTrue
135
};
136
137
public
:
enum
CreateSlopeConstraints
138
{
139
CreateSlopeConstraintsFalse
,
140
CreateSlopeConstraintsTrue
141
};
142
private
:
RoutingPathImpl
* m_routingpath_impl;
143
private
:
NXOpen::Preferences::RoutingApplicationView
* m_owner;
145
public
:
explicit
RoutingPath
(
NXOpen::Preferences::RoutingApplicationView
*owner);
147
public
:
149
tag_t
Tag
()
const
;
150
public
:
~RoutingPath
();
155
public
: std::vector<NXOpen::Preferences::RoutingPath::CurveType>
GetAllowedCurves
156
(
157
);
162
public
:
void
SetAllowedCurves
163
(
164
const
std::vector<NXOpen::Preferences::RoutingPath::CurveType> & allowedCurves
165
);
170
public
: std::vector<NXOpen::Preferences::RoutingPath::AllowedCornerType>
GetAllowedCorners
171
(
172
);
177
public
:
void
SetAllowedCorners
178
(
179
const
std::vector<NXOpen::Preferences::RoutingPath::AllowedCornerType> & allowedCorners
180
);
185
public
:
NXOpen::Preferences::RoutingPath::DefaultCornerType
GetDefaultCorner
186
(
187
);
192
public
:
void
SetDefaultCorner
193
(
194
NXOpen::Preferences::RoutingPath::DefaultCornerType
defaultCorner
195
);
200
public
:
NXOpen::Preferences::RoutingPath::RadiusMethod
GetBendRadiusMethod
201
(
202
);
206
public
:
void
SetBendRadiusMethod
207
(
208
NXOpen::Preferences::RoutingPath::RadiusMethod
radiusMethod
209
);
216
public
:
double
GetBendRadius
217
(
218
);
224
public
:
void
SetBendRadius
225
(
226
double
bendRadius
227
);
232
public
:
NXOpen::Preferences::RoutingPath::RadiusUnits
GetBendRadiusUnits
233
(
234
);
239
public
:
void
SetBendRadiusUnits
240
(
241
NXOpen::Preferences::RoutingPath::RadiusUnits
radiusUnits
242
);
247
public
:
double
GetBendRatio
248
(
249
);
254
public
:
void
SetBendRatio
255
(
256
double
bendRatio
257
);
261
public
:
double
GetBendRatioToAttribute
262
(
263
);
267
public
:
void
SetBendRatioToAttribute
268
(
269
double
bendRatioToAttribute
270
);
274
public
:
NXString
GetBendAttributeName
275
(
276
);
280
public
:
void
SetBendAttributeName
281
(
282
const
NXString
& bendAttributeName
283
);
287
void
SetBendAttributeName
288
(
289
const
char
* bendAttributeName
290
);
294
public
:
NXString
GetBendRadiusTable
295
(
296
);
300
public
:
void
SetBendRadiusTable
301
(
302
const
NXString
& bendTableSpreadsheet
303
);
307
void
SetBendRadiusTable
308
(
309
const
char
* bendTableSpreadsheet
310
);
314
public
: std::vector<NXOpen::Routing::CharacteristicList *>
GetBendRadiusTableDataForStock
315
(
316
const
NXString
& stockPartNumber
317
);
321
std::vector<NXOpen::Routing::CharacteristicList *>
GetBendRadiusTableDataForStock
322
(
323
const
char
* stockPartNumber
324
);
328
public
:
NXOpen::Preferences::RoutingPath::CreateSmartRcps
GetCreateSmartRcps
329
(
330
);
334
public
:
void
SetCreateSmartRcps
335
(
336
NXOpen::Preferences::RoutingPath::CreateSmartRcps
createSmart
337
);
341
public
:
NXOpen::Preferences::RoutingPath::MergeDupRcps
GetMergeDuplicateRcps
342
(
343
);
347
public
:
void
SetMergeDuplicateRcps
348
(
349
NXOpen::Preferences::RoutingPath::MergeDupRcps
mergeDuplicates
350
);
354
public
:
NXOpen::Preferences::RoutingPath::ConfirmBranchSel
GetConfirmBranchSelection
355
(
356
);
360
public
:
void
SetConfirmBranchSelection
361
(
362
NXOpen::Preferences::RoutingPath::ConfirmBranchSel
confirmBranchSel
363
);
367
public
:
NXString
GetStockOffsetExpression
368
(
369
);
373
public
:
void
SetStockOffsetExpression
374
(
375
const
NXString
& stockOffsetExp
376
);
380
void
SetStockOffsetExpression
381
(
382
const
char
* stockOffsetExp
383
);
387
public
:
NXOpen::Preferences::RoutingPath::ContinueUpdOnError
GetContinueUpdateOnError
388
(
389
);
393
public
:
void
SetContinueUpdateOnError
394
(
395
NXOpen::Preferences::RoutingPath::ContinueUpdOnError
update
396
);
400
public
:
NXOpen::Preferences::RoutingPath::CreateSlopeConstraints
GetCreateSlopeConstraints
401
(
402
);
406
public
:
void
SetCreateSlopeConstraints
407
(
408
NXOpen::Preferences::RoutingPath::CreateSlopeConstraints
createSlopeConstraints
409
);
413
public
:
NXOpen::Preferences::RoutingPath::DisplayObject
GetDisplayRcps
414
(
415
);
419
public
:
void
SetDisplayRcps
420
(
421
NXOpen::Preferences::RoutingPath::DisplayObject
displayRcps
422
);
426
public
:
NXOpen::Preferences::RoutingPath::DisplayObject
GetDisplayPorts
427
(
428
);
432
public
:
void
SetDisplayPorts
433
(
434
NXOpen::Preferences::RoutingPath::DisplayObject
displayPorts
435
);
439
public
:
NXOpen::Preferences::RoutingPath::DisplayObject
GetDisplaySegmentConstraints
440
(
441
);
445
public
:
void
SetDisplaySegmentConstraints
446
(
447
NXOpen::Preferences::RoutingPath::DisplayObject
displayConstraints
448
);
452
public
:
NXOpen::Preferences::RoutingPath::DisplayObject
GetDisplayAnchors
453
(
454
);
458
public
:
void
SetDisplayAnchors
459
(
460
NXOpen::Preferences::RoutingPath::DisplayObject
displayAnchors
461
);
465
public
:
double
GetDisplayPortLength
466
(
467
);
471
public
:
void
SetDisplayPortLength
472
(
473
double
displayPortLength
474
);
478
public
:
NXOpen::Preferences::RoutingPath::CurveType
GetHealPathCurveType
479
(
480
);
484
public
:
void
SetHealPathCurveType
485
(
486
NXOpen::Preferences::RoutingPath::CurveType
healPathCurveType
487
);
491
public
:
NXOpen::Preferences::RoutingPath::CreateTangency
GetCreateSplineTangency
492
(
493
);
497
public
:
void
SetCreateSplineTangency
498
(
499
NXOpen::Preferences::RoutingPath::CreateTangency
applyTangency
500
);
504
public
:
NXOpen::Preferences::RoutingPath::AddPointsToSpline
GetCreateNewPointsOnSubdivide
505
(
506
);
510
public
:
void
SetCreateNewPointsOnSubdivide
511
(
512
NXOpen::Preferences::RoutingPath::AddPointsToSpline
addPoints
513
);
517
public
:
NXOpen::Preferences::RoutingPath::DisplayObject
GetDisplayConnectedPorts
518
(
519
);
523
public
:
void
SetDisplayConnectedPorts
524
(
525
NXOpen::Preferences::RoutingPath::DisplayObject
displayConnectedPorts
526
);
527
};
//lint !e1712 default constructor not defined for class
528
}
529
}
530
#ifdef _MSC_VER
531
#pragma warning(pop)
532
#endif
533
#ifdef __GNUC__
534
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
535
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
536
#endif
537
#endif
538
#undef EXPORTLIBRARY