NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_DimensionStyleBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_DimensionStyleBuilder.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.hxx>
22#include <NXOpen/Dimensions.hxx>
23#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/libnxopencpp_annotations_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 namespace Annotations
36 {
38 }
39 namespace GeometricUtilities
40 {
42 }
43 namespace Annotations
44 {
45 class _DimensionStyleBuilderBuilder;
46 class DimensionStyleBuilderImpl;
52 class NXOPENCPP_ANNOTATIONSEXPORT DimensionStyleBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
53 {
54 private: DimensionStyleBuilderImpl * m_dimensionstylebuilder_impl;
55 private: friend class _DimensionStyleBuilderBuilder;
56 protected: DimensionStyleBuilder();
57 public: ~DimensionStyleBuilder();
63 (
64 );
70 (
71 NXOpen::Annotations::TextPlacement textArrowPlacement
72 );
77 public: bool LineBetweenArrows
78 (
79 );
85 (
86 bool lineBetweenArrows
87 );
92 (
93 );
97 public: void SetOrientation
98 (
100 );
105 (
106 );
110 public: void SetTextPosition
111 (
113 );
117 public: double TextAngle
118 (
119 );
123 public: void SetTextAngle
124 (
125 double textAngle
126 );
132 (
133 );
138 public: void SetTrimDimLine
139 (
141 );
146 (
147 );
151 public: void SetToleranceType
152 (
153 NXOpen::Annotations::ToleranceType dimToleranceType
154 );
159 (
160 );
165 (
167 );
172 (
173 );
178 (
179 NXOpen::Annotations::ArrowDisplay dimArrowDisplay
180 );
185 (
186 );
191 (
192 int dimensionValuePrecision
193 );
198 (
199 );
204 (
205 int toleranceValuePrecision
206 );
211 (
212 );
217 (
218 int dualDimensionValuePrecision
219 );
224 (
225 );
230 (
231 int dualToleranceValuePrecision
232 );
237 (
238 );
243 (
244 int angularDimensionValuePrecision
245 );
250 (
251 );
256 (
257 int angularToleranceValuePrecision
258 );
264 (
265 );
271 (
272 double upperToleranceEnglish
273 );
279 (
280 );
286 (
287 double lowerToleranceEnglish
288 );
293 public: double UpperToleranceMetric
294 (
295 );
301 (
302 double upperToleranceMetric
303 );
308 public: double LowerToleranceMetric
309 (
310 );
316 (
317 double lowerToleranceMetric
318 );
324 (
325 );
331 (
332 double upperToleranceDegrees
333 );
339 (
340 );
346 (
347 double lowerToleranceDegrees
348 );
353 (
354 );
359 (
360 NXOpen::Annotations::FractionDenominatorFormat primaryDimensionFractionDenominator
361 );
366 (
367 );
372 (
373 NXOpen::Annotations::FractionDenominatorFormat dualDimensionFractionDenominator
374 );
378 public: double BaselineOffset
379 (
380 );
384 public: void SetBaselineOffset
385 (
386 double baselineOffset
387 );
391 public: double ChainOffset
392 (
393 );
397 public: void SetChainOffset
398 (
399 double chainOffset
400 );
405 (
406 );
411 (
413 );
418 (
419 );
424 (
425 NXOpen::Annotations::NarrowTextOrientation narrowTextOrientation
426 );
430 public: double NarrowLeaderAngle
431 (
432 );
437 (
438 double narrowLeaderAngle
439 );
443 public: double NarrowTextOffset
444 (
445 );
450 (
451 double narrowTextOffset
452 );
457 (
458 );
463 (
465 );
470 (
471 );
475 public: void SetChamferForm
476 (
478 );
483 (
484 );
489 (
491 );
496 (
497 );
502 (
504 );
509 (
510 );
515 (
517 );
522 (
523 );
528 (
529 const NXString & chamferSymbolName
530 );
535 (
536 const char * chamferSymbolName
537 );
541 public: double ChamferSpaceFactor
542 (
543 );
548 (
549 double chamferSpaceFactor
550 );
555 public: NX_DEPRECATED("Deprecated in NX1953.0.0. Use NXOpen::Annotations::DimensionStyleBuilder::DimensionReferenceIncludeType and NXOpen::Annotations::DimensionStyleBuilder::ShowAsReferenceDimension instead.") bool ReferenceDimension
556 (
557 );
562 public: NX_DEPRECATED("Deprecated in NX1953.0.0. Use NXOpen::Annotations::DimensionStyleBuilder::SetDimensionReferenceIncludeType and NXOpen::Annotations::DimensionStyleBuilder::SetShowAsReferenceDimension instead.") void SetReferenceDimension
563 (
564 bool referenceDimension
565 );
569 public: bool SeparateBrackets
570 (
571 );
576 (
577 bool separateBrackets
578 );
583 (
584 );
589 (
590 bool inspectionDimension
591 );
596 (
597 );
602 (
603 NXOpen::Annotations::ZeroToleranceDisplayStyle dimZeroToleranceDisplayStyle
604 );
609 (
610 );
615 (
616 const NXString & fitDeviation
617 );
622 (
623 const char * fitDeviation
624 );
628 public: int LimitFitGrade
629 (
630 );
634 public: void SetLimitFitGrade
635 (
636 int fitGrade
637 );
642 (
643 );
648 (
649 const NXString & fitShaftDeviation
650 );
655 (
656 const char * fitShaftDeviation
657 );
662 (
663 );
668 (
669 int fitShaftGrade
670 );
675 (
676 );
681 (
682 NXOpen::Annotations::FitDisplayStyle fitDisplayStyle
683 );
689 public: NX_DEPRECATED("在NX11.0.0中已弃用。请改用NXOpen::Annotations::DimensionStyleBuilder::LimitFitAssemblyNewDisplayStyle。") NXOpen::Annotations::FitAssemblyDisplayStyle LimitFitAssemblyDisplayStyle
690 (
691 );
697 public: NX_DEPRECATED("在NX11.0.0中已弃用。请改用NXOpen::Annotations::DimensionStyleBuilder::SetLimitFitAssemblyNewDisplayStyle。") void SetLimitFitAssemblyDisplayStyle
698 (
699 NXOpen::Annotations::FitAssemblyDisplayStyle fitAssemblyDisplayStyle
700 );
705 (
706 );
711 (
712 NXOpen::Annotations::FitAssemblyNewDisplayStyle fitAssemblyDisplayStyle
713 );
719 (
720 );
726 (
727 NXOpen::Annotations::FitDisplaySplitByDimline fitDisplaySplitByDimline
728 );
734 (
735 );
741 (
742 NXOpen::Annotations::FitDisplayAlignment fitDisplayAlignment
743 );
748 (
749 );
754 (
755 bool showFitParentheses
756 );
761 (
762 );
767 (
768 bool showFitSeparator
769 );
774 (
775 );
780 (
781 NXOpen::Annotations::FitAnsiHoleType fitHoleType
782 );
787 (
788 );
793 (
794 NXOpen::Annotations::TrueLengthTextPosition trueLengthTextPosition
795 );
800 (
801 );
805 public: void SetTrueLengthText
806 (
807 const NXString & trueLengthText
808 );
813 (
814 const char * trueLengthText
815 );
820 (
821 );
826 (
827 bool reverseArrowDirection
828 );
833 (
834 );
839 (
840 bool prefixSuffixReference
841 );
846 (
847 );
852 (
853 const NXString & prefix
854 );
859 (
860 const char * prefix
861 );
866 (
867 );
872 (
873 const NXString & suffix
874 );
879 (
880 const char * suffix
881 );
886 (
887 );
892 (
894 );
899 (
900 );
905 (
906 bool overrideDimensionText
907 );
912 (
913 );
918 (
919 const std::vector<NXString> & customizedText
920 );
925 (
926 );
931 (
932 NXOpen::Annotations::InspectionSymbolAroundAppendedText inspectionSymbolAroundAppendedText
933 );
937 public: bool TextCentered
938 (
939 );
943 public: void SetTextCentered
944 (
945 bool textCentered
946 );
951 (
952 );
957 (
958 bool showAsreference
959 );
964 (
965 );
970 (
971 NXOpen::Annotations::ReferenceIncludeType referenceIncludeType
972 );
979 (
980 );
987 (
988 bool isSingleLimitOffSetIncluded
989 );
995 (
996 );
1002 (
1003 double singleLimitOffSetValueEnglish
1004 );
1010 (
1011 );
1017 (
1018 double singleLimitOffSetValueMetric
1019 );
1027 public: virtual bool Validate
1028 (
1029 );
1030 };
1031 }
1032}
1033#ifdef _MSC_VER
1034#pragma warning(pop)
1035#endif
1036#ifdef __GNUC__
1037#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1038#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1039#endif
1040#endif
1041#undef EXPORTLIBRARY