NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_RoutingElectrical.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 电气布线首选项C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_RoutingElectrical.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_StockData.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
RoutingElectrical
;
36
}
37
namespace
Preferences
38
{
39
class
RoutingApplicationView
;
40
}
41
namespace
Preferences
42
{
43
class
RoutingElectricalImpl;
49
class
NXOPENCPP_PREFERENCESEXPORT
RoutingElectrical
50
{
52
public
:
enum
CreateTerminalsType
53
{
54
CreateTerminalsTypeAll
,
55
CreateTerminalsTypeListed
,
56
CreateTerminalsTypeRouted
57
};
58
64
public
:
enum
ComponentMatchType
65
{
66
ComponentMatchTypeFileName
,
67
ComponentMatchTypeComponentName
,
68
ComponentMatchTypeAttributeName
69
};
70
private
:
RoutingElectricalImpl
* m_routingelectrical_impl;
71
private
:
NXOpen::Preferences::RoutingApplicationView
* m_owner;
73
public
:
explicit
RoutingElectrical
(
NXOpen::Preferences::RoutingApplicationView
*owner);
75
public
:
77
tag_t
Tag
()
const
;
78
public
:
~RoutingElectrical
();
82
public
:
NXOpen::Preferences::RoutingElectrical::CreateTerminalsType
CreateTerminalsOption
83
(
84
);
88
public
:
void
SetCreateTerminalsOption
89
(
90
NXOpen::Preferences::RoutingElectrical::CreateTerminalsType
createTerminalsOption
91
);
95
public
:
bool
TerminalSegmentSolidDisplay
96
(
97
);
101
public
:
void
SetTerminalSegmentSolidDisplay
102
(
103
bool
terminalSegmentSolid
104
);
109
public
:
NXString
GetDefaultHarnessName
110
(
111
);
115
public
:
void
SetDefaultHarnessName
116
(
117
const
NXString
& defaultHarnessName
118
);
122
void
SetDefaultHarnessName
123
(
124
const
char
* defaultHarnessName
125
);
129
public
:
bool
AutomaticRouteLevel
130
(
131
);
135
public
:
void
SetAutomaticRouteLevel
136
(
137
bool
isPinLevelRoute
138
);
142
public
:
bool
ReportRouteErrors
143
(
144
);
148
public
:
void
SetReportRouteErrors
149
(
150
bool
reportRouteErrors
151
);
155
public
:
bool
HighlightWire
156
(
157
);
161
public
:
void
SetHighlightWire
162
(
163
bool
highlightWire
164
);
168
public
:
NXOpen::Preferences::RoutingElectrical::ComponentMatchType
ComponentMatchMethod
169
(
170
);
174
public
:
void
SetComponentMatchMethod
175
(
176
NXOpen::Preferences::RoutingElectrical::ComponentMatchType
componentMatchMethod
177
);
182
public
:
NXString
GetComponentMatchColumnHeading
183
(
184
);
188
public
:
void
SetComponentMatchColumnHeading
189
(
190
const
NXString
& columnHeading
191
);
195
void
SetComponentMatchColumnHeading
196
(
197
const
char
* columnHeading
198
);
202
public
:
NXString
GetComponentMatchComponentAttributeTitle
203
(
204
);
208
public
:
void
SetComponentMatchComponentAttributeTitle
209
(
210
const
NXString
& componentAttributeTitle
211
);
215
void
SetComponentMatchComponentAttributeTitle
216
(
217
const
char
* componentAttributeTitle
218
);
222
public
:
NXString
DefaultJumperLength
223
(
224
);
228
public
:
void
SetDefaultJumperLength
229
(
230
const
NXString
& defaultJumperLength
231
);
235
void
SetDefaultJumperLength
236
(
237
const
char
* defaultJumperLength
238
);
242
public
:
NXString
GetFilterBlankingAttribute
243
(
244
);
248
public
:
void
SetFilterBlankingAttribute
249
(
250
const
NXString
& attributeName
251
);
255
void
SetFilterBlankingAttribute
256
(
257
const
char
* attributeName
258
);
262
public
:
bool
ExportFormatInLegacyFile
263
(
264
);
268
public
:
void
SetExportFormatInLegacyFile
269
(
270
bool
exportFormat
271
);
275
public
:
double
FormboardSynchronizationLengthTolerance
276
(
277
);
281
public
:
void
SetFormboardSynchronizationLengthTolerance
282
(
283
double
segmentLengthTolerance
284
);
292
public
: std::vector<NXString>
GetFormboardFrameSizes
293
(
294
);
298
public
:
void
SetFormboardFrameSizes
299
(
300
std::vector<NXString> & frameSizes
301
);
305
public
:
int
BundleColor
306
(
307
);
311
public
:
void
SetBundleColor
312
(
313
int
bundleColor
314
);
318
public
:
bool
RecordNetlistHistory
319
(
320
);
324
public
:
void
SetRecordNetlistHistory
325
(
326
bool
recordNetlistHistory
327
);
331
public
:
NXOpen::Routing::StockStyle
AutoRouteStockStyle
332
(
333
);
337
public
:
void
SetAutoRouteStockStyle
338
(
339
NXOpen::Routing::StockStyle
stockStyle
341
);
342
};
//lint !e1712 default constructor not defined for class
343
}
344
}
345
#ifdef _MSC_VER
346
#pragma warning(pop)
347
#endif
348
#ifdef __GNUC__
349
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
350
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
351
#endif
352
#endif
353
#undef EXPORTLIBRARY