NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_RoutingPart.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:管路零件(JA API)
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_RoutingPart.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.h>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_preferences_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
Preferences
33
{
34
class
RoutingPart
;
35
}
36
namespace
Preferences
37
{
38
class
RoutingApplicationView
;
39
}
40
namespace
Preferences
41
{
42
class
RoutingPartLibrary
;
43
}
44
namespace
Preferences
45
{
46
class
RoutingPartImpl;
51
class
NXOPENCPP_PREFERENCESEXPORT
RoutingPart
52
{
54
public
:
enum
UsePreferredPort
55
{
56
UsePreferredPortFalse
,
57
UsePreferredPortTrue
58
};
59
60
public
:
enum
PreferredPortMethod
61
{
62
PreferredPortMethodAttribute
,
63
PreferredPortMethodName
64
};
65
66
public
:
enum
DetailLevel
67
{
68
DetailLevelSummary
,
69
DetailLevelItemized
70
};
71
72
public
:
enum
FabricationNumbering
73
{
74
FabricationNumberingSequence
,
75
FabricationNumberingOriginal
76
};
77
78
public
:
enum
StockLengthDisplay
79
{
80
StockLengthDisplaySum
,
81
StockLengthDisplayItem
82
};
83
private
:
RoutingPartImpl
* m_routingpart_impl;
84
private
:
NXOpen::Preferences::RoutingApplicationView
* m_owner;
86
public
:
explicit
RoutingPart
(
NXOpen::Preferences::RoutingApplicationView
*owner);
88
public
:
90
tag_t
Tag
()
const
;
91
public
:
~RoutingPart
();
95
public
:
NXOpen::Preferences::RoutingPart::UsePreferredPort
UsePreferredPortFlag
96
(
97
);
101
public
:
void
SetUsePreferredPortFlag
102
(
103
NXOpen::Preferences::RoutingPart::UsePreferredPort
useFlag
104
);
108
public
:
NXOpen::Preferences::RoutingPart::PreferredPortMethod
PreferredPortMethodFlag
109
(
110
);
115
public
:
void
SetPreferredPortName
116
(
117
const
NXString
& desiredPort
118
);
123
void
SetPreferredPortName
124
(
125
const
char
* desiredPort
126
);
132
public
:
NXString
GetPreferredPortName
133
(
134
);
139
public
:
void
SetPreferredPortAttribute
140
(
141
const
NXString
& attributeName ,
142
const
NXString
& attributeValue
143
);
148
void
SetPreferredPortAttribute
149
(
150
const
char
* attributeName ,
151
const
char
* attributeValue
152
);
157
public
:
void
GetPreferredPortAttribute
158
(
159
NXString
* attributeName ,
161
NXString
* attributeValue
163
);
167
public
:
int
MaximumSolutions
168
(
169
);
173
public
:
void
SetMaximumSolutions
174
(
175
int
maxSols
176
);
180
public
:
int
Layer
181
(
182
);
186
public
:
void
SetLayer
187
(
188
int
layer
189
);
193
public
:
NXString
BomFormatPart
194
(
195
);
199
public
:
void
SetBomFormatPart
200
(
201
const
NXString
& bomPart
202
);
206
void
SetBomFormatPart
207
(
208
const
char
* bomPart
209
);
213
public
:
NXOpen::Preferences::RoutingPart::DetailLevel
BomDetailLevelFlag
214
(
215
);
219
public
:
void
SetBomDetailLevelFlag
220
(
221
NXOpen::Preferences::RoutingPart::DetailLevel
detail
222
);
226
public
:
NXOpen::Preferences::RoutingPart::FabricationNumbering
FabricationNumberingFlag
227
(
228
);
232
public
:
void
SetFabricationNumberingFlag
233
(
234
NXOpen::Preferences::RoutingPart::FabricationNumbering
numbering
235
);
239
public
:
NXOpen::Preferences::RoutingPart::StockLengthDisplay
StockLengthDisplayFlag
240
(
241
);
245
public
:
void
SetStockLengthDisplayFlag
246
(
247
NXOpen::Preferences::RoutingPart::StockLengthDisplay
display
248
);
252
public
:
NXString
InvalidSequenceCharacters
253
(
254
);
258
public
:
void
SetInvalidSequenceCharacters
259
(
260
const
NXString
& invalidChars
261
);
265
void
SetInvalidSequenceCharacters
266
(
267
const
char
* invalidChars
268
);
272
public
:
NXString
DefaultElbowNode
273
(
274
);
278
public
:
void
SetDefaultElbowNode
279
(
280
const
NXString
& elbowNode
281
);
285
void
SetDefaultElbowNode
286
(
287
const
char
* elbowNode
288
);
292
public
:
NXOpen::Preferences::RoutingPartLibrary
*
PartLibrary
();
293
};
//lint !e1712 default constructor not defined for class
294
}
295
}
296
#ifdef _MSC_VER
297
#pragma warning(pop)
298
#endif
299
#ifdef __GNUC__
300
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
301
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
302
#endif
303
#endif
304
#undef EXPORTLIBRARY