NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_SessionDrafting.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_SessionDrafting.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
SessionDrafting
;
35
}
36
namespace
Preferences
37
{
38
class
SessionPreferences
;
39
}
40
namespace
Preferences
41
{
42
class
SessionDraftingImpl;
46
class
NXOPENCPP_PREFERENCESEXPORT
SessionDrafting
47
{
49
public
:
enum
EdgeFaceDisplayType
50
{
51
EdgeFaceDisplayTypeDisplayAndEmphasize
,
52
EdgeFaceDisplayTypeCurvesOnly
53
};
54
55
public
:
enum
AnnotationStyleType
56
{
57
AnnotationStyleTypeTextboxAndLeaders
,
58
AnnotationStyleTypeDetailed
59
};
60
61
public
:
enum
GridObjectType
62
{
63
GridObjectTypeDrafting
,
64
GridObjectTypeSketch
,
65
GridObjectTypeSheetzone
66
};
67
private
:
SessionDraftingImpl
* m_sessiondrafting_impl;
68
private
:
NXOpen::Preferences::SessionPreferences
* m_owner;
70
public
:
explicit
SessionDrafting
(
NXOpen::Preferences::SessionPreferences
*owner);
72
public
:
74
tag_t
Tag
()
const
;
75
public
:
~SessionDrafting
();
79
public
:
bool
SmartlightweightViewsLoadComponentOnDemand
80
(
81
);
85
public
:
void
SetSmartlightweightViewsLoadComponentOnDemand
86
(
87
bool
loadComponentOnDemand
88
);
92
public
:
bool
LoadComponentOnFacetedViewSelection
93
(
94
);
98
public
:
void
SetLoadComponentOnFacetedViewSelection
99
(
100
bool
loadComponentOnFacetedViewSelection
101
);
105
public
:
bool
LoadComponentOnFacetedViewUpdate
106
(
107
);
111
public
:
void
SetLoadComponentOnFacetedViewUpdate
112
(
113
bool
loadComponentOnFacetedViewUpdate
114
);
118
public
:
NXOpen::Preferences::SessionDrafting::EdgeFaceDisplayType
ExtractedEdgeFaceDisplay
119
(
120
);
124
public
:
void
SetExtractedEdgeFaceDisplay
125
(
126
NXOpen::Preferences::SessionDrafting::EdgeFaceDisplayType
extractedEdgeFaceDisplay
127
);
131
public
:
bool
DynamicAlignment
132
(
133
);
137
public
:
void
SetDynamicAlignment
138
(
139
bool
dynamicAlignment
140
);
144
public
:
NXOpen::Preferences::SessionDrafting::GridObjectType
GridObject
145
(
146
);
150
public
:
void
SetGridObject
151
(
152
NXOpen::Preferences::SessionDrafting::GridObjectType
drawingGridObject
153
);
157
public
:
int
ForcedWelcomeMode
158
(
159
);
163
public
:
void
SetForcedWelcomeMode
164
(
165
int
enterWelcomeMode
166
);
170
public
:
bool
AutomaticCustomSymbolUpdate
171
(
172
);
176
public
:
void
SetAutomaticCustomSymbolUpdate
177
(
178
bool
automaticUpdateOption
179
);
180
};
//lint !e1712 default constructor not defined for class
181
}
182
}
183
#ifdef _MSC_VER
184
#pragma warning(pop)
185
#endif
186
#ifdef __GNUC__
187
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
188
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
189
#endif
190
#endif
191
#undef EXPORTLIBRARY