NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_SessionModeling.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_SessionModeling.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/Session.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_preferences_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Preferences
34 {
35 class SessionModeling;
36 }
37 namespace Preferences
38 {
40 }
41 namespace Preferences
42 {
43 class SessionModelingImpl;
47 class NXOPENCPP_PREFERENCESEXPORT SessionModeling
48 {
55
61
67
74
80
86
92
101
108
119
125
131
137
152
161
170
185
191
200
207
214 private: SessionModelingImpl * m_sessionmodeling_impl;
219 public:
221 tag_t Tag() const;
222 public: ~SessionModeling();
227 (
228 );
233 (
235 );
240 (
241 );
246 (
248 );
253 (
254 );
259 (
261 );
266 (
267 );
271 public: void SetDynamicUpdate
272 (
274 );
279 (
280 );
285 (
287 );
292 (
293 );
297 public: void SetBodyType
298 (
300 );
306 (
307 );
313 (
314 bool displayLegacyFeatureName
315 );
320 (
321 );
325 public: void SetCurveFitMethod
326 (
328 );
333 (
334 );
339 (
341 );
346 (
347 );
352 (
354 );
359 (
360 );
365 (
366 bool associativeEditFreeForm
367 );
371 public: int PositionColor
372 (
373 );
377 public: void SetPositionColor
378 (
379 int positionColor
380 );
384 public: int TangentColor
385 (
386 );
390 public: void SetTangentColor
391 (
392 int tangentColor
393 );
397 public: int CurvatureColor
398 (
399 );
403 public: void SetCurvatureColor
404 (
405 int curvatureColor
406 );
411 (
412 );
417 (
418 int accelerationColor
419 );
424 (
425 );
430 (
431 bool poleDisplayInheritColor
432 );
437 (
438 );
443 (
444 bool polylineDisplayInheritColor
445 );
450 (
451 );
456 (
457 bool endpointDisplayInheritColor
458 );
463 (
464 );
469 (
470 int poleDisplayColor
471 );
476 (
477 );
482 (
483 int polylineDisplayColor
484 );
489 (
490 );
495 (
496 int endpointDisplayColor
497 );
502 (
503 );
508 (
510 );
515 (
516 );
521 (
523 );
528 (
529 );
534 (
536 );
541 (
542 );
547 (
548 bool poleEditInheritColor
549 );
554 (
555 );
560 (
561 bool polylineEditInheritColor
562 );
566 public: int PoleEditColor
567 (
568 );
572 public: void SetPoleEditColor
573 (
574 int poleEditColor
575 );
580 (
581 );
586 (
587 int polylineEditColor
588 );
593 (
594 );
598 public: void SetPoleEditStyle
599 (
601 );
606 (
607 );
612 (
614 );
619 public: NX_DEPRECATED("于NX2312.0.0弃用,请使用NXOpen::Preferences::SessionModeling::DelayModelUpdates替代。") bool UpdateDelayed
620 (
621 );
626 public: NX_DEPRECATED("于NX2312.0.0弃用,请使用NXOpen::Preferences::SessionModeling::SetDelayModelUpdateAndGranularity替代。") void SetUpdateDelayed
627 (
628 bool option
629 );
634 public: NX_DEPRECATED("于NX2312.0.0弃用,请使用NXOpen::Preferences::SessionModeling::DelayModelUpdates替代。") bool UpdatePending
635 (
636 );
641 public: NX_DEPRECATED("于NX2312.0.0弃用,请使用NXOpen::Preferences::SessionModeling::SetDelayModelUpdateAndGranularity替代。") void SetUpdatePending
642 (
643 bool option
644 );
649 (
651 );
656 (
657 );
662 (
663 bool enable
664 );
669 (
670 );
675 (
676 bool use
677 );
681 public: bool UseTriangularMesh
682 (
683 );
689 (
690 );
696 (
697 bool defaultEditOption
698 );
703 public: bool NotifyOnDelete
704 (
705 );
710 public: void SetNotifyOnDelete
711 (
712 bool notifyOnDelete
713 );
719 (
720 );
726 (
728 );
733 (
734 );
739 (
741 );
748 (
749 );
756 (
757 bool interruptOnError
758 );
765 (
766 );
773 (
774 bool interruptOnWarning
775 );
782 (
783 );
790 (
791 bool interruptOnMissingReferences
792 );
799 (
800 );
807 (
808 bool currentOnError
809 );
816 (
817 );
823 (
824 bool updateFailureReport
825 );
831 (
832 );
838 (
839 bool allowEditingOfDimensionOfInternalSketch
840 );
845 (
846 );
851 (
852 bool showSimuationUiInModeling
853 );
859 (
860 );
866 (
867 bool makeDatumsInternal
868 );
874 (
875 );
880 (
881 );
886 (
888 );
893 public: NX_DEPRECATED("Deprecated in NX1847.0.0. There is no replacement for this function.") NXOpen::Preferences::SessionModeling::SketchEditType SketchEditOption
894 (
895 );
900 public: NX_DEPRECATED("Deprecated in NX1847.0.0. There is no replacement for this function.") void SetSketchEditOption
901 (
903 );
909 (
910 bool makeSketchesInternal
911 );
916 (
917 );
922 (
923 bool activateFeatureGroupWithRollback
924 );
929 (
930 );
935 (
937 );
942 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Preferences::PartModeling::TreatOneDegreeBsplineAsPolyline instead.") bool TreatOneDegreeBsplineAsPolyline
943 (
944 );
949 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::Preferences::PartModeling::TreatOneDegreeBsplineAsPolyline instead.") void SetTreatOneDegreeBsplineAsPolyline
950 (
951 bool preference
952 );
957 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::Preferences::PartModeling::ConvertAnalyticToConvergentDistanceTolerance instead.") double ConvertAnalyticToConvergentDistanceTolerance
958 (
959 );
964 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::Preferences::PartModeling::ConvertAnalyticToConvergentDistanceTolerance instead.") void SetConvertAnalyticToConvergentDistanceTolerance
965 (
966 double dAnalyticToConvergentDistTol
967 );
972 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::Preferences::PartModeling::ConvertAnalyticToConvergentAngularTolerance instead.") double ConvertAnalyticToConvergentAngularTolerance
973 (
974 );
979 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::Preferences::PartModeling::ConvertAnalyticToConvergentAngularTolerance instead.") void SetConvertAnalyticToConvergentAngularTolerance
980 (
981 double dAnalyticToConvergentAngTol
982 );
987 (
988 );
993 (
995 );
999 public: bool DelayModelUpdates
1000 (
1001 );
1006 (
1007 bool delayModelUpdates ,
1008 NXOpen::Preferences::SessionModeling::ModelDelayUpdateGranilarityType modelDelayUpdateGranularityOption ,
1009 NXOpen::Session::UndoMarkId undoMarkId
1010 );
1015 (
1016 );
1017 }; //lint !e1712 default constructor not defined for class
1018 }
1019}
1020#ifdef _MSC_VER
1021#pragma warning(pop)
1022#endif
1023#ifdef __GNUC__
1024#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1025#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1026#endif
1027#endif
1028#undef EXPORTLIBRARY