NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Mechatronics_PreferencesBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口至 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Mechatronics_PreferencesBuilder.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/Expression.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/libnxopencpp_mechatronics_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 Mechatronics
34 {
36 }
37 class Builder;
38 class Expression;
39 namespace Mechatronics
40 {
41 class _PreferencesBuilderBuilder;
42 class PreferencesBuilderImpl;
46 class NXOPENCPP_MECHATRONICSEXPORT PreferencesBuilder : public NXOpen::Builder
47 {
54
60
69
75
81
87
93
99
105
112
118
126
132 private: PreferencesBuilderImpl * m_preferencesbuilder_impl;
133 private: friend class _PreferencesBuilderBuilder;
134 protected: PreferencesBuilder();
135public: ~PreferencesBuilder();
140 (
141 );
146 (
147 );
152 (
153 );
158 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::DynamicFrictionExpression instead") double DynamicFriction
159 (
160 );
165 public: NX_DEPRECATED("Deprecated in NX9.0.0. This functionality is no longer supported.") void SetDynamicFriction
166 (
167 double dynamicFriction
168 );
173 (
174 );
179 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::StaticFrictionExpression instead") double StaticFriction
180 (
181 );
186 public: NX_DEPRECATED("Deprecated in NX9.0.0. This functionality is no longer supported.") void SetStaticFriction
187 (
188 double staticFriction
189 );
194 (
195 );
200 (
201 );
206 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::RestitutionExpression instead") double Restitution
207 (
208 );
213 public: NX_DEPRECATED("Deprecated in NX9.0.0. This functionality is no longer supported.") void SetRestitution
214 (
215 double restitution
216 );
221 (
222 );
227 (
228 );
233 (
234 );
238 public: int NonPhysicsColor
239 (
240 );
245 (
246 int nonPhysicsColor
247 );
251 public: bool RichGeomType
252 (
253 );
257 public: void SetRichGeomType
258 (
259 bool richGeomType
260 );
265 (
266 );
271 (
272 NXOpen::Mechatronics::PreferencesBuilder::DisplayUnitOptions displayUnit
273 );
278 (
279 );
284 (
285 NXOpen::Mechatronics::PreferencesBuilder::ArrangementTypes arrangementType
286 );
291 (
292 );
297 (
298 const NXString & configurationFile
299 );
304 (
305 const char * configurationFile
306 );
311 (
312 );
317 (
318 );
323 (
324 const NXString & flickerSoundPath
325 );
330 (
331 const char * flickerSoundPath
332 );
336 public: NXOpen::Mechatronics::PreferencesBuilder::PhysicsEngines PhysicsEngine
337 (
338 );
342 public: void SetPhysicsEngine
343 (
344 NXOpen::Mechatronics::PreferencesBuilder::PhysicsEngines engine
345 );
350 (
351 );
356 (
357 NXOpen::Mechatronics::PreferencesBuilder::PrecisionPresetModes presetMode
358 );
363 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::CollisionPrecisionExpression instead") double CollisionPrecision
364 (
365 );
370 public: NX_DEPRECATED("Deprecated in NX9.0.0. This functionality is no longer supported.") void SetCollisionPrecision
371 (
372 double collisionPrecision
373 );
378 (
379 );
384 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::StepTimeExpression instead") double StepTime
385 (
386 );
391 public: NX_DEPRECATED("Deprecated in NX9.0.0. This functionality is no longer supported.") void SetStepTime
392 (
393 double stepTime
394 );
399 (
400 );
405 public: NX_DEPRECATED("Deprecated in NX11.0.0. Use NXOpen::Mechatronics::PreferencesBuilder::StickyForce instead.") double StickyFactor
406 (
407 );
412 public: NX_DEPRECATED("Deprecated in NX11.0.0. This functionality is no longer supported.") void SetStickyFactor
413 (
414 double factor
415 );
420 (
421 );
425 public: std::vector<double> GetCollideCategoryVec
426 (
427 );
432 (
433 const std::vector<double> & itemCategory
434 );
439 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。请使用 NXOpen::Mechatronics::PreferencesBuilder::ToleranceExpression 代替") double Tolerance
440 (
441 );
446 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。此功能不再受支持。") void SetTolerance
447 (
448 double tolerance
449 );
454 (
455 );
460 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。请使用 NXOpen::Mechatronics::PreferencesBuilder::ErrorReductionExpression 代替") double ErrorReduction
461 (
462 );
467 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。此功能不再受支持。") void SetErrorReduction
468 (
469 double errorReduction
470 );
475 (
476 );
481 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。请使用 NXOpen::Mechatronics::PreferencesBuilder::MaxIterationExpression 代替") int MaxIteration
482 (
483 );
488 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。此功能不再受支持。") void SetMaxIteration
489 (
490 int maxIter
491 );
496 (
497 );
502 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。请使用 NXOpen::Mechatronics::PreferencesBuilder::SpringForceMultiplierExpression 代替") double SpringForceMultiplier
503 (
504 );
509 public: NX_DEPRECATED("在 NX9.0.0 中已弃用。此功能不再受支持。") void SetSpringForceMultiplier
510 (
511 double springForceMultiplier
512 );
517 (
518 );
522 public: bool EnableParallel
523 (
524 );
528 public: void SetEnableParallel
529 (
530 bool enableParallel
531 );
536 (
537 );
542 (
543 bool randomOrder
544 );
549 (
550 );
555 (
556 );
561 (
562 );
567 (
568 );
573 (
574 );
579 (
580 );
585 (
586 int physXMultiThreadsNum
587 );
591 public: bool EnablePhysXCcd
592 (
593 );
597 public: void SetEnablePhysXCcd
598 (
599 bool enablePhysXCcd
600 );
605 (
606 );
611 (
612 bool enablePhysXGpuAcceleration
613 );
618 (
619 );
624 (
625 NXOpen::Mechatronics::PreferencesBuilder::PhysXFrictionTypes frictionType
626 );
631 (
632 );
637 (
638 );
643 (
644 );
649 (
650 );
655 (
656 int collisionDetectRate
657 );
662 (
663 );
668 (
669 NXOpen::Mechatronics::PreferencesBuilder::SimulationScope partsToSimulate
670 );
676 public: NX_DEPRECATED("Deprecated in NX1872.0.0. This functionality is no longer supported.") double RefreshPrecision
677 (
678 );
684 public: NX_DEPRECATED("Deprecated in NX1872.0.0. This functionality is no longer supported.") void SetRefreshPrecision
685 (
686 double refreshPrecision
687 );
692 (
693 );
698 (
699 );
704 (
705 );
710 (
711 );
715 public: double TimeScaleFactor
716 (
717 );
722 (
723 double scaleFactor
724 );
729 (
730 );
735 (
736 );
741 (
742 );
747 (
748 NXOpen::Mechatronics::PreferencesBuilder::BodyToUseForMeasureTypes bodyType
749 );
754 (
755 );
760 (
761 int simulationRecordingSamplingRate
762 );
767 (
768 );
773 (
774 bool enableSimpl
775 );
780 (
781 );
786 (
787 bool param
788 );
792 public: bool PauseRuntimeError
793 (
794 );
799 (
800 bool param
801 );
806 (
807 );
812 (
813 int externalDataAlgorithm
814 );
819 (
820 );
824 public: void SetInvokeFMUUnzip
825 (
826 NXOpen::Mechatronics::PreferencesBuilder::UnpackedFMUTypes invokeFMUUnzip
827 );
832 (
833 );
837 public: void SetFmuUnzipPath
838 (
839 const NXString & fmuUnzipPath
840 );
845 (
846 const char * fmuUnzipPath
847 );
852 (
853 );
858 (
859 bool removeFMUUnzipFiles
860 );
865 (
866 );
871 (
872 NXOpen::Mechatronics::PreferencesBuilder::EtherNetIPEdsRepositoryLocationTypes invokeEtherNetIPEdsSpecify
873 );
878 (
879 );
884 (
885 const NXString & etherNetIPEdsPath
886 );
891 (
892 const char * etherNetIPEdsPath
893 );
898 (
899 );
904 (
905 );
910 public: NX_DEPRECATED("Deprecated in NX1953.0.0. This functionality is no longer supported.") bool EnablePlcSimAdvTimeSyn
911 (
912 );
917 public: NX_DEPRECATED("Deprecated in NX1953.0.0. This functionality is no longer supported.") void SetEnablePlcSimAdvTimeSyn
918 (
919 bool enablePlcSimAdvTimeSyn
920 );
924 public: bool CoSimulation
925 (
926 );
930 public: void SetCoSimulation
931 (
932 bool coSimulation
933 );
938 (
939 );
943 public: void SetConnectURL
944 (
945 const NXString & connectURL
946 );
951 (
952 const char * connectURL
953 );
957 public: NXOpen::Mechatronics::PreferencesBuilder::MasterTypes MasterType
958 (
959 );
963 public: void SetMasterType
964 (
965 NXOpen::Mechatronics::PreferencesBuilder::MasterTypes masterType
966 );
970 public: bool EnableTimeSync
971 (
972 );
976 public: void SetEnableTimeSync
977 (
978 bool enableTimeSync
979 );
984 (
985 );
990 (
991 );
996 (
997 bool autoDisableOperation
998 );
1002 public: bool InvokeExport
1003 (
1004 );
1008 public: void SetInvokeExport
1009 (
1010 bool param
1011 );
1016 (
1017 );
1021 public: void SetFilePicker
1022 (
1023 const NXString & exportFile
1024 );
1029 (
1030 const char * exportFile
1031 );
1036 (
1037 );
1042 (
1043 NXOpen::Mechatronics::PreferencesBuilder::DecimalDelimiters decimalDelimiter
1044 );
1049 (
1050 );
1055 (
1056 bool param
1057 );
1062 (
1063 );
1067 public: bool LoadAsSaved
1068 (
1069 );
1073 public: void SetLoadAsSaved
1074 (
1075 bool loadAsSaved
1076 );
1081 (
1082 );
1086 public: void SetRevisionRule
1087 (
1088 const NXString & revisionRule
1089 );
1094 (
1095 const char * revisionRule
1096 );
1101 (
1102 );
1107 (
1108 bool show
1109 );
1114 (
1115 );
1120 (
1121 bool show
1122 );
1126 public: bool ShowScanner
1127 (
1128 );
1132 public: void SetShowScanner
1133 (
1134 bool show
1135 );
1139 public: bool ShowCurtain
1140 (
1141 );
1145 public: void SetShowCurtain
1146 (
1147 bool show
1148 );
1153 (
1154 );
1159 (
1160 bool show
1161 );
1165 public: bool ShowBondedRigid
1166 (
1167 );
1172 (
1173 bool show
1174 );
1179 (
1180 );
1185 (
1186 bool highlight
1187 );
1191 public: bool ShapeHighlight
1192 (
1193 );
1198 (
1199 bool highlight
1200 );
1204 public: bool BondHighlight
1205 (
1206 );
1210 public: void SetBondHighlight
1211 (
1212 bool show
1213 );
1217 public: bool GripperHighlight
1218 (
1219 );
1224 (
1225 bool show
1226 );
1231 (
1232 );
1237 (
1238 bool show
1239 );
1244 (
1245 );
1250 (
1251 bool show
1252 );
1257 (
1258 );
1263 (
1264 int color
1265 );
1270 (
1271 );
1276 (
1277 int color
1278 );
1283 (
1284 );
1289 (
1290 int color
1291 );
1296 (
1297 );
1302 (
1303 int color
1304 );
1309 (
1310 );
1315 (
1316 int color
1317 );
1321 public: int ActiveBeams
1322 (
1323 );
1327 public: void SetActiveBeams
1328 (
1329 int color
1330 );
1334 public: int InactiveBeams
1335 (
1336 );
1340 public: void SetInactiveBeams
1341 (
1342 int color
1343 );
1347 public: int BlockedBeams
1348 (
1349 );
1353 public: void SetBlockedBeams
1354 (
1355 int color
1356 );
1360 public: int FreeBeams
1361 (
1362 );
1366 public: void SetFreeBeams
1367 (
1368 int color
1369 );
1374 (
1375 );
1380 (
1381 int color
1382 );
1386 public: int WarningField
1387 (
1388 );
1392 public: void SetWarningField
1393 (
1394 int color
1395 );
1399 public: int MonitorField
1400 (
1401 );
1405 public: void SetMonitorField
1406 (
1407 int color
1408 );
1413 (
1414 );
1419 (
1420 );
1425 (
1426 );
1431 (
1432 );
1437 (
1438 );
1443 (
1444 );
1449 (
1450 );
1455 (
1456 );
1461 (
1462 );
1467 (
1468 );
1473 (
1474 );
1479 (
1480 );
1485 (
1486 bool sameWithFlexibleMaterialPrecision
1487 );
1492 (
1493 );
1498 (
1499 );
1504 (
1505 );
1510 (
1511 );
1516 (
1517 );
1522 (
1523 );
1528 (
1529 bool flexibleMaterialEnableMaxTwist
1530 );
1535 (
1536 );
1541 (
1542 );
1547 (
1548 bool flexibleMaterialEnableMaxContactForce
1549 );
1554 (
1555 );
1560 (
1561 );
1566 (
1567 bool flexibleMaterialEnableMinCurvature
1568 );
1573 (
1574 );
1579 (
1580 );
1585 (
1586 double flexibleMaterialOscillation
1587 );
1592 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXOpen::Expression * FlexibleEngineTuningPrecision
1593 (
1594 );
1599 (
1600 );
1605 (
1606 int flexibleEngineTuningMinNumberOfNodesBetweenAttachments
1607 );
1612 (
1613 );
1618 (
1619 int flexibleEngineTuningSkipStepsNumber
1620 );
1625 (
1626 );
1631 (
1632 bool flexibleEngineTuningEnableMultithreading
1633 );
1638 (
1639 );
1644 (
1645 int flexibleEngineTuningNumberOfThreads
1646 );
1651 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") bool FlexibleFacetBodySameWithEngineTuningPrecision
1652 (
1653 );
1658 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") void SetFlexibleFacetBodySameWithEngineTuningPrecision
1659 (
1660 bool flexibleFacetBodySameWithEngineTuningPrecision
1661 );
1666 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXOpen::Expression * FlexibleFacetBodyPrecision
1667 (
1668 );
1673 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXOpen::Mechatronics::PreferencesBuilder::KineoFlexibleFacetBodyPrecision FlexibleFacetBodyLinearPrecision
1674 (
1675 );
1680 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") void SetFlexibleFacetBodyLinearPrecision
1681 (
1682 NXOpen::Mechatronics::PreferencesBuilder::KineoFlexibleFacetBodyPrecision precision
1683 );
1688 (
1689 );
1694 (
1695 NXOpen::Mechatronics::PreferencesBuilder::KineoFlexibleFacetBodyPrecision precision
1696 );
1701 (
1702 );
1707 (
1709 );
1714 (
1715 );
1720 (
1721 double precision
1722 );
1727 (
1728 );
1733 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXOpen::Mechatronics::PreferencesBuilder::KineoFlexibleFacetBodyPrecision FlexibleFacetBodyAngularPrecision
1734 (
1735 );
1740 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") void SetFlexibleFacetBodyAngularPrecision
1741 (
1742 NXOpen::Mechatronics::PreferencesBuilder::KineoFlexibleFacetBodyPrecision precision
1743 );
1748 (
1749 );
1755 (
1756 );
1762 (
1763 );
1769 (
1770 );
1776 (
1777 );
1783 (
1784 );
1785 };
1786 }
1787}
1788#ifdef _MSC_VER
1789#pragma warning(pop)
1790#endif
1791#ifdef __GNUC__
1792#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1793#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1794#endif
1795#endif
1796#undef EXPORTLIBRARY