NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_PmiPreferences.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_PmiPreferences.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/Annotations_CuttingPlaneSymbolBuilder.hxx>
23#include <NXOpen/TransientObject.hxx>
24#include <NXOpen/libnxopencpp_annotations_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Annotations
35 {
36 class PmiPreferences;
37 }
38 class NXColor;
39 namespace Annotations
40 {
41 }
42 namespace Annotations
43 {
44 class PmiPreferencesImpl;
48 class NXOPENCPP_ANNOTATIONSEXPORT PmiPreferences : public NXOpen::TransientObject
49 {
74 private: PmiPreferencesImpl * m_pmipreferences_impl;
76 public: explicit PmiPreferences(void *ptr);
78
81 public: virtual ~PmiPreferences();
86 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::AnnotationPlane instead.") NXOpen::Annotations::PmiDefaultPlane DefaultPlane
87 (
88 );
93 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetAnnotationPlane instead.") void SetDefaultPlane
94 (
95 NXOpen::Annotations::PmiDefaultPlane defaultPlane
96 );
101 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::DisplayPmiShadedModel instead.") bool ShadedDisplay
102 (
103 );
108 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetDisplayPmiShadedModel instead.") void SetShadedDisplay
109 (
110 bool shadedDisplay
111 );
116 (
117 );
121 public: void SetDatumLabel
122 (
123 const NXString & datumLabel
124 );
129 (
130 const char * datumLabel
131 );
136 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::DisplayInAllViews instead.") bool CreateViewIndependent
137 (
138 );
143 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetDisplayInAllViews instead.") void SetCreateViewIndependent
144 (
145 bool createViewIndependent
146 );
151 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::RegionWidth instead.") double PmiRegionWidth
152 (
153 );
158 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::SetRegionWidth instead.") void SetPmiRegionWidth
159 (
160 double width
161 );
166 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::RegionHeight instead.") double PmiRegionHeight
167 (
168 );
173 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::SetRegionHeight instead.") void SetPmiRegionHeight
174 (
175 double height
176 );
181 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::RegionOuterDiameter instead.") double PmiRegionOuterDiameter
182 (
183 );
188 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::SetRegionOuterDiameter instead.") void SetPmiRegionOuterDiameter
189 (
190 double outerDiameter
191 );
196 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::RegionInnerDiameter instead.") double PmiRegionInnerDiameter
197 (
198 );
203 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSupplementalGeometryRegionBuilder::SetRegionInnerDiameter instead.") void SetPmiRegionInnerDiameter
204 (
205 double innerDiameter
206 );
211 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::EnableResize instead.") bool EnableResize
212 (
213 );
218 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetEnableResize instead.") void SetEnableResize
219 (
220 bool enableResize
221 );
226 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::ResizeOnCreate instead.") bool ResizeOnCreate
227 (
228 );
233 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetResizeOnCreate instead.") void SetResizeOnCreate
234 (
235 bool resizeOnCreate
236 );
241 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::ResizeOnViewSave instead.") bool ResizeOnViewSave
242 (
243 );
248 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetResizeOnViewSave instead.") void SetResizeOnViewSave
249 (
250 bool resizeOnViewSave
251 );
256 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::ResizeSettings instead.") NXOpen::Annotations::PmiResizeMethod ResizeMethod
257 (
258 );
263 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupDisplayBuilder::SetResizeSettings instead.") void SetResizeMethod
264 (
265 NXOpen::Annotations::PmiResizeMethod resizeMethod
266 );
271 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::PmiSupportForGeometrySharing instead.") bool PmiSupportForGeometrySharing
272 (
273 );
278 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SetPmiSupportForGeometrySharing instead.") void SetPmiSupportForGeometrySharing
279 (
280 bool pmiSupportForGeomSharing
281 );
286 public: NX_DEPRECATED("Deprecated in NX1847.0.0. No longer applicable as the Find PMI Associated to Geometry command has been removed from the shortcut menu.") bool DisplayPmiQueryDialogFromMb3
287 (
288 );
293 public: NX_DEPRECATED("Deprecated in NX1847.0.0. No longer applicable as the Find PMI Associated to Geometry command has been removed from the shortcut menu.") void SetDisplayPmiQueryDialogFromMb3
294 (
295 bool withDialog
296 );
301 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::DisplayPmiAssociatedOnlyToPrimaryGeometry instead.") NXOpen::Annotations::DisplayPmiEffectivityMethod DisplayPmiEffectivityMethod
302 (
303 );
308 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::SetDisplayPmiAssociatedOnlyToPrimaryGeometry instead.") void SetDisplayPmiEffectivityMethod
309 (
310 NXOpen::Annotations::DisplayPmiEffectivityMethod displayPmiEffectivityMethod
311 );
316 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::DisplayPmiAssociatedToReferenceGeometry instead.") NXOpen::Annotations::DisplayPmiEffectivityMethod DisplayPmiEffectivityReferenceMethod
317 (
318 );
323 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::SetDisplayPmiAssociatedToReferenceGeometry instead.") void SetDisplayPmiEffectivityReferenceMethod
324 (
325 NXOpen::Annotations::DisplayPmiEffectivityMethod displayPmiEffectivityReferenceMethod
326 );
331 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::UserDefinedModelViews instead.") bool DisplayPmiUserDefinedModelViewDisclosure
332 (
333 );
338 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SetUserDefinedModelViews instead.") void SetDisplayPmiUserDefinedModelViewDisclosure
339 (
340 bool withDialog
341 );
346 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::DisclosurePurpose instead.") NXString DisplayPmiModelViewDisclosurePurpose
347 (
348 );
353 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SetDisclosurePurpose instead.") void SetDisplayPmiModelViewDisclosurePurpose
354 (
355 const NXString & purpose
356 );
362 (
363 const char * purpose
364 );
369 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::ComponentsLoadedForReference instead.") bool DisplayPmiAssociatedComponentsLoadedForReference
370 (
371 );
376 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::SetComponentsLoadedForReference instead.") void SetDisplayPmiAssociatedComponentsLoadedForReference
377 (
378 bool displayPmiAssociatedComponentsLoadedForReference
379 );
384 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::DisplayEffectivityFilteredNodes instead.") bool DisplayEffectivityFilterNodesInPartNavigator
385 (
386 );
391 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupEffectivityBuilder::SetDisplayEffectivityFilteredNodes instead.") void SetDisplayEffectivityFilterNodesInPartNavigator
392 (
393 bool displayEffectivityFilterNodesInPartNavigator
394 );
399 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::AssemblyCrosshatching instead.") bool AssemblyCrosshatching
400 (
401 );
406 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetAssemblyCrosshatching instead.") void SetAssemblyCrosshatching
407 (
408 bool assemblyCrosshatching
409 );
414 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::RestrictCrosshatchAngle instead.") bool RestrictCrosshatchAngle
415 (
416 );
421 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetRestrictCrosshatchAngle instead.") void SetRestrictCrosshatchAngle
422 (
423 bool restrictCrosshatchAngle
424 );
429 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::CrosshatchAdjacencyTolerance instead.") double CrosshatchAdjacencyTolerance
430 (
431 );
436 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetCrosshatchAdjacencyTolerance instead.") void SetCrosshatchAdjacencyTolerance
437 (
438 double crosshatchAdjacencyTolerance
439 );
444 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::AssociativePlane instead.") bool AssociativityForLightweightSectionViews
445 (
446 );
451 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetAssociativePlane instead.") void SetAssociativityForLightweightSectionViews
452 (
453 bool associativityOptionForLightweightSectionViews
454 );
459 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::StartingLetter instead.") NXString CuttingPlaneSymbolStartingLetter
460 (
461 );
466 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetStartingLetter instead.") void SetCuttingPlaneSymbolStartingLetter
467 (
468 const NXString & startingLetter
469 );
475 (
476 const char * startingLetter
477 );
482 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SectionPrefix instead.") NXString CuttingPlaneSymbolSectionPrefix
483 (
484 );
489 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetSectionPrefix instead.") void SetCuttingPlaneSymbolSectionPrefix
490 (
491 const NXString & sectionPrefix
492 );
498 (
499 const char * sectionPrefix
500 );
505 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::ShadedPlane instead.") bool CuttingPlaneSymbolShadedPlane
506 (
507 );
512 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetShadedPlane instead.") void SetCuttingPlaneSymbolShadedPlane
513 (
514 bool shadedPlane
515 );
520 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::Color instead.") NXOpen::NXColor * CuttingPlaneSymbolColor
521 (
522 );
527 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetColor instead.") void SetCuttingPlaneSymbolColor
528 (
529 NXOpen::NXColor * color
530 );
535 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::TextPlaneRelativeToArrow instead.") NXOpen::Annotations::CuttingPlaneSymbolBuilder::TextPlaneRelativeArrow CuttingPlaneSymbolTextPlaneRelativeToArrow
536 (
537 );
542 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetTextPlaneRelativeToArrow instead.") void SetCuttingPlaneSymbolTextPlaneRelativeToArrow
543 (
544 NXOpen::Annotations::CuttingPlaneSymbolBuilder::TextPlaneRelativeArrow textPlaneRelativeArrow
545 );
550 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::ArrowLineLength instead.") double CuttingPlaneSymbolArrowLength
551 (
552 );
557 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetArrowLineLength instead.") void SetCuttingPlaneSymbolArrowLength
558 (
559 double arrowLength
560 );
565 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SectionNamePrefix instead.") NXString SectionViewNamePrefix
566 (
567 );
572 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetSectionNamePrefix instead.") void SetSectionViewNamePrefix
573 (
574 const NXString & sectionViewNamePrefix
575 );
581 (
582 const char * sectionViewNamePrefix
583 );
588 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::ArrowDirection instead.") NXOpen::Annotations::CuttingPlaneSymbolBuilder::ArrowDirectionOption CuttingPlaneSymbolArrowDirection
589 (
590 );
595 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewCuttingPlaneSymbolBuilder::SetArrowDirection instead.") void SetCuttingPlaneSymbolArrowDirection
596 (
597 NXOpen::Annotations::CuttingPlaneSymbolBuilder::ArrowDirectionOption arrowDirection
598 );
603 (
604 );
609 (
610 NXOpen::NXColor * boundaryColor
611 );
616 (
617 );
622 (
623 int boundaryFont
624 );
629 (
630 );
635 (
636 int boundaryWidth
637 );
642 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::ClipCoplanarObjects instead.") bool ClipCoplanarObjectsForLightweightSectionViews
643 (
644 );
649 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetClipCoplanarObjects instead.") void SetClipCoplanarObjectsForLightweightSectionViews
650 (
651 bool clipCoplanarObjectsOptionForLightweightSectionViews
652 );
657 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::DisplayParallelToScreen instead.") bool ParallelToScreen
658 (
659 );
664 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::SetDisplayParallelToScreen instead.") void SetParallelToScreen
665 (
666 bool parallelToScreen
667 );
672 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::LockSizeAndPosition instead.") bool LockSizeAndPosition
673 (
674 );
679 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::SetLockSizeAndPosition instead.") void SetLockSizeAndPosition
680 (
681 bool lockSizeAndPosition
682 );
687 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::EnabledPmiTypes instead.") void GetParallelToScreenEnabledPmiTypes
688 (
689 std::vector<NXOpen::Annotations::PmiPreferences::PreferenceSymbolTypes> & parallelToScreenEnabledPmiTypes
690 );
695 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupParallelToScreenBuilder::SetEnabledPmiTypes instead.") void SetParallelToScreenEnabledPmiTypes
696 (
697 const std::vector<NXOpen::Annotations::PmiPreferences::PreferenceSymbolTypes> & parallelToScreenEnabledPmiTypes
698 );
703 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::ClipWireframeObjects instead.") bool ClipWireframeObjects
704 (
705 );
710 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiSectionViewViewBuilder::SetClipWireframeObjects instead.") void SetClipWireframeObjects
711 (
712 bool clipWireframeObjectsOption
713 );
718 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SuppressRetainedPMI instead.") bool SuppressRetainedPmis
719 (
720 );
725 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SetSuppressRetainedPMI instead.") void SetSuppressRetainedPmis
726 (
727 bool suppressRetainedPmis
728 );
733 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::DeleteEmptyUserDefinedModelViews instead.") bool DeleteEmptyUserDefinedModelViews
734 (
735 );
740 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Annotations::PmiGeneralSetupGeneralBuilder::SetDeleteEmptyUserDefinedModelViews instead.") void SetDeleteEmptyUserDefinedModelViews
741 (
742 bool deleteEmptyUserDefinedModelViews
743 );
745
748 public: bool CreateContext
749 (
750 );
753
756 public: void SetCreateContext
757 (
758 bool createContext
759 );
762
765 public: bool FreezeUpdate
766 (
767 );
770
773 public: void SetFreezeUpdate
774 (
775 bool freezeUpdate
776 );
779
782 public: bool AllowEdits
783 (
784 );
787
790 public: void SetAllowEdits
791 (
792 bool allowEdits
793 );
795 }; //lint !e1712 default constructor not defined for class
796 }
797}
798#ifdef _MSC_VER
799#pragma warning(pop)
800#endif
801#ifdef __GNUC__
802#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
803#pragma GCC diagnostic warning "-Wdeprecated-declarations"
804#endif
805#endif
806#undef EXPORTLIBRARY