NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_DimensionPreferences.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_DimensionPreferences.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/Annotations_ChamferDimensionPreferences.hxx>
22#include <NXOpen/Annotations_DiameterRadiusPreferences.hxx>
23#include <NXOpen/Annotations_NarrowDimensionPreferences.hxx>
24#include <NXOpen/Annotations_OrdinateDimensionPreferences.hxx>
25#include <NXOpen/Annotations_UnitsFormatPreferences.hxx>
26#include <NXOpen/Dimensions.hxx>
27#include <NXOpen/TransientObject.hxx>
28#include <NXOpen/libnxopencpp_annotations_exports.hxx>
29#ifdef _MSC_VER
30#pragma warning(push)
31#pragma warning(disable:4996)
32#endif
33#ifdef __GNUC__
34#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35#endif
36namespace NXOpen
37{
38 namespace Annotations
39 {
41 }
42 namespace Annotations
43 {
45 }
46 namespace Annotations
47 {
49 }
50 namespace Annotations
51 {
53 }
54 namespace Annotations
55 {
57 }
58 namespace Annotations
59 {
61 }
62 namespace Annotations
63 {
64 }
65 namespace Annotations
66 {
67 class DimensionPreferencesImpl;
71 class NXOPENCPP_ANNOTATIONSEXPORT DimensionPreferences : public NXOpen::TransientObject
72 {
73 private: DimensionPreferencesImpl * m_dimensionpreferences_impl;
75 public: explicit DimensionPreferences(void *ptr);
77
82 public: virtual ~DimensionPreferences();
87 (
88 );
93 (
95 );
100 (
101 );
106 (
108 );
113 (
114 );
118 public: void SetTextPlacement
119 (
121 );
126 (
127 );
132 (
134 );
139 (
140 );
144 public: void SetArrowDisplay
145 (
147 );
152 (
153 );
158 (
159 bool displayLineBetweenArrows
160 );
165 (
166 );
171 (
173 );
178 (
179 );
183 public: void SetTextPosition
184 (
186 );
191 public: double TextOrienationAngle
192 (
193 );
199 (
200 double textOrientationAngle
201 );
205 public: double BaselineOffset
206 (
207 );
211 public: void SetBaselineOffset
212 (
213 double baselineOffset
214 );
218 public: double ChainOffset
219 (
220 );
224 public: void SetChainOffset
225 (
226 double chainOffset
227 );
232 (
233 );
238 (
239 bool referenceDimension
240 );
245 (
246 );
251 (
252 bool inspectionDimension
253 );
258 (
259 );
264 (
266 );
271 (
272 );
277 (
279 );
284 (
285 );
290 (
292 );
297 (
298 );
303 (
305 );
310 (
311 );
316 (
318 );
323 (
324 );
329 (
331 );
336 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::LinearTolerance::ZeroToleranceDisplayStyle for linear dimensions and NXOpen::Annotations::AngularTolerance::ZeroToleranceDisplayStyle for angular dimensions instead.") NXOpen::Annotations::ZeroToleranceDisplayStyle ZeroToleranceDisplayStyle
337 (
338 );
343 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::LinearTolerance::SetZeroToleranceDisplayStyle for linear dimensions and NXOpen::Annotations::AngularTolerance::SetZeroToleranceDisplayStyle for angular dimensions instead.") void SetZeroToleranceDisplayStyle
344 (
346 );
351 (
352 );
357 (
358 const NXString & fitDeviation
359 );
364 (
365 const char * fitDeviation
366 );
370 public: int LimitFitGrade
371 (
372 );
376 public: void SetLimitFitGrade
377 (
378 int fitGrade
379 );
384 (
385 );
390 (
391 const NXString & fitShaftDeviation
392 );
397 (
398 const char * fitShaftDeviation
399 );
404 (
405 );
410 (
411 int fitShaftGrade
412 );
417 (
418 );
423 (
424 NXOpen::Annotations::FitDisplayStyle fitDisplayStyle
425 );
433 public: NX_DEPRECATED("在 NX11.0.0 中弃用。请改用 NXOpen::Annotations::DimensionPreferences::LimitFitAssemblyNewDisplayStyle。") NXOpen::Annotations::FitAssemblyDisplayStyle LimitFitAssemblyDisplayStyle
434 (
435 );
443 public: NX_DEPRECATED("在 NX11.0.0 中弃用。请改用 NXOpen::Annotations::DimensionPreferences::SetLimitFitAssemblyNewDisplayStyle。") void SetLimitFitAssemblyDisplayStyle
444 (
445 NXOpen::Annotations::FitAssemblyDisplayStyle fitAssemblyDisplayStyle
446 );
452 (
453 );
459 (
460 NXOpen::Annotations::FitAssemblyNewDisplayStyle fitAssemblyDisplayStyle
461 );
468 (
469 );
476 (
477 NXOpen::Annotations::FitDisplaySplitByDimline fitDisplaySplitByDimline
478 );
484 (
485 );
491 (
492 NXOpen::Annotations::FitDisplayAlignment fitDisplayAlignment
493 );
499 (
500 );
506 (
507 bool displayFitSeparator
508 );
513 (
514 );
519 (
520 bool displayFitParentheses
521 );
526 (
527 );
532 (
533 NXOpen::Annotations::FitAnsiHoleType fitHoleType
534 );
539 (
540 );
545 (
546 NXOpen::Annotations::TrueLengthTextPosition trueLengthTextPosition
547 );
552 (
553 );
557 public: void SetTrueLengthText
558 (
559 const NXString & trueLengthText
560 );
565 (
566 const char * trueLengthText
567 );
572 (
573 );
578 (
579 bool reverseArrowDirection
580 );
585 (
586 );
591 (
592 bool prefixSuffixReference
593 );
598 (
599 );
604 (
605 const NXString & prefix
606 );
611 (
612 const char * prefix
613 );
618 (
619 );
624 (
625 const NXString & suffix
626 );
631 (
632 const char * suffix
633 );
634 }; //lint !e1712 default constructor not defined for class
635 }
636}
637#ifdef _MSC_VER
638#pragma warning(pop)
639#endif
640#ifdef __GNUC__
641#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
642#pragma GCC diagnostic warning "-Wdeprecated-declarations"
643#endif
644#endif
645#undef EXPORTLIBRARY