NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_SketchPreferences.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件:草图首选项API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_SketchPreferences.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
30namespace NXOpen
31{
32 namespace Preferences
33 {
35 }
36 class Sketch;
37 namespace Preferences
38 {
39 class SketchPreferencesImpl;
43 class NXOPENCPP_PREFERENCESEXPORT SketchPreferences
44 {
52
59 private: SketchPreferencesImpl * m_sketchpreferences_impl;
60 private: NXOpen::Sketch* m_owner;
62 public: explicit SketchPreferences(NXOpen::Sketch *owner);
64 public:
66 tag_t Tag() const;
67 public: ~SketchPreferences();
71 public: double ConstraintSymbolSize
72 (
73 );
78 (
79 double constraintSize
80 );
85 (
86 );
90 public: void SetDimensionLabel
91 (
93 );
98 (
99 int dimDisplayFlag
101 );
106 (
107 );
112 (
113 bool displayObjectColor
114 );
119 (
120 );
125 (
126 bool displayReferenceGeometry
127 );
132 (
133 );
138 (
139 bool createInferredConstraints
140 );
145 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Preferences::SketchPreferences::TextSizeMode instead.") bool TextSizeFixed
146 (
147 );
152 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Preferences::SketchPreferences::SetTextSizeMode instead.") void SetTextSizeFixed
153 (
154 bool textSizeFixed
155 );
159 public: double FixedTextSize
160 (
161 );
165 public: void SetFixedTextSize
166 (
167 double fixedTextSize
168 );
172 public: double DimensionTextScale
173 (
174 );
179 (
180 double dimensionTextScale
181 );
186 (
187 );
192 (
193 bool autoDim
194 );
199 (
200 );
205 (
206 bool useTolerance
207 );
211 public: double SolvingTolerance
212 (
213 );
218 (
219 double tolerance
220 );
224 public: bool DisplayObjectName
225 (
226 );
231 (
232 bool displayObjectName
233 );
237 public: bool DisplayVertices
238 (
239 );
244 (
245 bool displayVertices
246 );
251 (
252 );
257 (
258 bool displayShadedRegions
259 );
264 (
265 );
270 (
271 bool displayParentheses
272 );
276 public: void SetTextSizeMode
277 (
279 );
284 (
285 );
286}; //lint !e1712 未为类定义默认构造函数
287 }
288}
289#ifdef _MSC_VER
290#pragma warning(pop)
291#endif
292#ifdef __GNUC__
293#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
294#pragma GCC diagnostic warning "-Wdeprecated-declarations"
295#endif
296#endif
297#undef EXPORTLIBRARY