NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_PartDrafting.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 工程图API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_PartDrafting.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/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
PartDrafting
;
35
}
36
namespace
Preferences
37
{
38
class
PartPreferences
;
39
}
40
class
NXColor
;
41
namespace
Preferences
42
{
43
class
PartDraftingImpl;
47
class
NXOPENCPP_PREFERENCESEXPORT
PartDrafting
48
{
50
public
:
enum
ViewStyleType
51
{
52
ViewStyleTypeBorder
,
53
ViewStyleTypeWireframe
,
54
ViewStyleTypeHiddenWireframe
,
55
ViewStyleTypeShaded
56
};
57
58
public
:
enum
FontType
59
{
60
FontTypeOriginal
,
61
FontTypeInvisible
,
62
FontTypeSolid
,
63
FontTypeDashed
,
64
FontTypePhantom
,
65
FontTypeCenterline
,
66
FontTypeDotted
,
67
FontTypeLongDashed
,
68
FontTypeDottedDashed
,
69
FontTypeEight
= 12,
70
FontTypeNine
,
71
FontTypeTen
,
72
FontTypeEleven
73
};
74
75
public
:
enum
WidthType
76
{
77
WidthTypeOriginal
,
78
WidthTypeThin
,
79
WidthTypeNormal
,
80
WidthTypeThick
,
81
WidthTypeThicknessOne
= 5,
82
WidthTypeThicknessTwo
,
83
WidthTypeThicknessThree
,
84
WidthTypeThicknessFour
,
85
WidthTypeThicknessFive
,
86
WidthTypeThicknessSix
,
87
WidthTypeThicknessSeven
,
88
WidthTypeThicknessEight
,
89
WidthTypeThicknessNine
90
};
91
92
public
:
enum
BreakLineStyle
93
{
94
BreakLineStyleExisting
,
95
BreakLineStyleSimple
,
96
BreakLineStyleStraight
,
97
BreakLineStyleSawtooth
,
98
BreakLineStyleLongBreak
,
99
BreakLineStyleTubular
,
100
BreakLineStyleSolidTubular
,
101
BreakLineStyleSolidRod
,
102
BreakLineStyleJigsaw
,
103
BreakLineStyleWood
104
};
105
106
public
:
enum
UpdateViewWithoutLwDataOption
107
{
108
UpdateViewWithoutLwDataOptionIgnore
,
109
UpdateViewWithoutLwDataOptionNotify
,
110
UpdateViewWithoutLwDataOptionDoNotNotify
,
111
UpdateViewWithoutLwDataOptionGenerate
112
};
113
private
:
PartDraftingImpl
* m_partdrafting_impl;
114
private
:
NXOpen::Preferences::PartPreferences
* m_owner;
116
public
:
explicit
PartDrafting
(
NXOpen::Preferences::PartPreferences
*owner);
118
public
:
120
tag_t
Tag
()
const
;
121
public
:
~PartDrafting
();
125
public
:
bool
DelayViewUpdate
126
(
127
);
131
public
:
void
SetDelayViewUpdate
132
(
133
bool
isDelayViewUpdateOn
134
);
138
public
:
bool
DelayUpdateOnCreation
139
(
140
);
144
public
:
void
SetDelayUpdateOnCreation
145
(
146
bool
isDelayUpdateOnCreationOn
147
);
151
public
:
NXOpen::Preferences::PartDrafting::UpdateViewWithoutLwDataOption
UpdateViewWithoutLwData
152
(
153
);
157
public
:
void
SetUpdateViewWithoutLwData
158
(
159
NXOpen::Preferences::PartDrafting::UpdateViewWithoutLwDataOption
updateViewWithoutLWDataOption
160
);
164
public
:
bool
EnableSmoothEdgesForLWView
165
(
166
);
170
public
:
void
SetEnableSmoothEdgesForLWView
171
(
172
bool
enableSmoothEdges
173
);
177
public
:
bool
DisplayBorders
178
(
179
);
183
public
:
void
SetDisplayBorders
184
(
185
bool
displayBorders
186
);
190
public
:
int
BorderColor
191
(
192
);
196
public
:
void
SetBorderColor
197
(
198
int
borderColor
199
);
204
public
:
bool
RetainAnnotations
205
(
206
);
211
public
:
void
SetRetainAnnotations
212
(
213
bool
retainAnnotations
214
);
219
public
:
int
Color
220
(
221
);
226
public
:
void
SetColor
227
(
228
int
color
229
);
233
public
:
NXOpen::Preferences::PartDrafting::FontType
Font
234
(
235
);
239
public
:
void
SetFont
240
(
241
NXOpen::Preferences::PartDrafting::FontType
font
242
);
246
public
:
NXOpen::Preferences::PartDrafting::WidthType
Width
247
(
248
);
252
public
:
void
SetWidth
253
(
254
NXOpen::Preferences::PartDrafting::WidthType
width
255
);
259
public
:
NXOpen::Preferences::PartDrafting::ViewStyleType
ViewStyle
260
(
261
);
265
public
:
void
SetViewStyle
266
(
267
NXOpen::Preferences::PartDrafting::ViewStyleType
viewStyle
268
);
272
public
:
bool
VersionObjects
273
(
274
);
278
public
:
void
SetVersionObjects
279
(
280
bool
versonObjects
281
);
286
public
:
bool
ViewTracking
287
(
288
);
293
public
:
void
SetViewTracking
294
(
295
bool
viewTracking
296
);
300
public
:
NXString
InitialSheetNumber
301
(
302
);
306
public
:
void
SetInitialSheetNumber
307
(
308
const
NXString
& initialSheetNumber
309
);
313
void
SetInitialSheetNumber
314
(
315
const
char
* initialSheetNumber
316
);
320
public
:
NXString
InitialSecondaryNumber
321
(
322
);
326
public
:
void
SetInitialSecondaryNumber
327
(
328
const
NXString
& initialSecondaryNumber
329
);
333
void
SetInitialSecondaryNumber
334
(
335
const
char
* initialSecondaryNumber
336
);
340
public
:
NXString
Delimiter
341
(
342
);
346
public
:
void
SetDelimiter
347
(
348
const
NXString
& delimiter
349
);
353
void
SetDelimiter
354
(
355
const
char
* delimiter
356
);
360
public
:
bool
Translucency
361
(
362
);
366
public
:
void
SetTranslucency
367
(
368
bool
translucency
369
);
373
public
:
bool
LineAntialiasing
374
(
375
);
379
public
:
void
SetLineAntialiasing
380
(
381
bool
lineAntialiasing
382
);
386
public
:
bool
ShowFacetEdges
387
(
388
);
392
public
:
void
SetShowFacetEdges
393
(
394
bool
showFacetEdges
395
);
399
public
:
NXOpen::NXColor
*
ActiveViewColor
400
(
401
);
405
public
:
void
SetActiveViewColor
406
(
407
NXOpen::NXColor
* borderColor
408
);
412
public
:
NXOpen::Preferences::PartDrafting::BreakLineStyle
BreakLineType
413
(
414
);
418
public
:
void
SetBreakLineType
419
(
420
NXOpen::Preferences::PartDrafting::BreakLineStyle
lineType
421
);
425
public
:
double
BreakLineAmplitude
426
(
427
);
431
public
:
void
SetBreakLineExtension
432
(
433
double
extension
434
);
438
public
:
double
BreakLineExtension
439
(
440
);
444
public
:
void
SetBreakLineAmplitude
445
(
446
double
amplitude
447
);
451
public
:
double
BreakLineGap
452
(
453
);
457
public
:
void
SetBreakLineGap
458
(
459
double
gap
460
);
464
public
:
int
BreakLineWidth
465
(
466
);
470
public
:
void
SetBreakLineWidth
471
(
472
int
width
473
);
477
public
:
NXOpen::NXColor
*
BreakLineColor
478
(
479
);
483
public
:
void
SetBreakLineColor
484
(
485
NXOpen::NXColor
* color
486
);
490
public
:
bool
PropagateBreakLines
491
(
492
);
496
public
:
void
SetPropagateBreakLines
497
(
498
bool
doesPropagate
499
);
503
public
:
bool
BreakLinesVisibility
504
(
505
);
509
public
:
void
SetBreakLinesVisibility
510
(
511
bool
isVisible
512
);
516
public
:
bool
CustomSymbolSmashToSketch
517
(
518
);
522
public
:
void
SetCustomSymbolSmashToSketch
523
(
524
bool
isSmashToSketch
525
);
529
public
:
int
FrameBarTicDirection
530
(
531
);
535
public
:
void
SetFrameBarTicDirection
536
(
537
int
ticDirection
538
);
542
public
:
int
FrameBarPrecision
543
(
544
);
548
public
:
void
SetFrameBarPrecision
549
(
550
int
precision
551
);
555
public
:
bool
AssociativeAlignment
556
(
557
);
561
public
:
void
SetAssociativeAlignment
562
(
563
bool
associativeAlignment
564
);
568
public
:
int
MinimumComponentsForLargeAssemblyOption
569
(
570
);
574
public
:
void
SetMinimumComponentsForLargeAssemblyOption
575
(
576
int
minComponents
577
);
578
};
//lint !e1712 default constructor not defined for class
579
}
580
}
581
#ifdef _MSC_VER
582
#pragma warning(pop)
583
#endif
584
#ifdef __GNUC__
585
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
586
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
587
#endif
588
#endif
589
#undef EXPORTLIBRARY