NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
30namespace 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 {
57
74
91
105
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 );
132 (
133 bool isDelayViewUpdateOn
134 );
139 (
140 );
145 (
146 bool isDelayUpdateOnCreationOn
147 );
152 (
153 );
158 (
160 );
165 (
166 );
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 );
212 (
213 bool retainAnnotations
214 );
219 public: int Color
220 (
221 );
226 public: void SetColor
227 (
228 int color
229 );
234 (
235 );
239 public: void SetFont
240 (
242 );
247 (
248 );
252 public: void SetWidth
253 (
255 );
260 (
261 );
265 public: void SetViewStyle
266 (
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 );
301 (
302 );
307 (
308 const NXString & initialSheetNumber
309 );
314 (
315 const char * initialSheetNumber
316 );
321 (
322 );
327 (
328 const NXString & initialSecondaryNumber
329 );
334 (
335 const char * initialSecondaryNumber
336 );
341 (
342 );
346 public: void SetDelimiter
347 (
348 const NXString & delimiter
349 );
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 );
380 (
381 bool lineAntialiasing
382 );
386 public: bool ShowFacetEdges
387 (
388 );
392 public: void SetShowFacetEdges
393 (
394 bool showFacetEdges
395 );
400 (
401 );
406 (
407 NXOpen::NXColor * borderColor
408 );
413 (
414 );
418 public: void SetBreakLineType
419 (
421 );
425 public: double BreakLineAmplitude
426 (
427 );
432 (
433 double extension
434 );
438 public: double BreakLineExtension
439 (
440 );
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 );
478 (
479 );
483 public: void SetBreakLineColor
484 (
485 NXOpen::NXColor * color
486 );
491 (
492 );
497 (
498 bool doesPropagate
499 );
504 (
505 );
510 (
511 bool isVisible
512 );
517 (
518 );
523 (
524 bool isSmashToSketch
525 );
530 (
531 );
536 (
537 int ticDirection
538 );
543 (
544 );
549 (
550 int precision
551 );
556 (
557 );
562 (
563 bool associativeAlignment
564 );
569 (
570 );
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