NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_HolePackageBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_HolePackageBuilder.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/GeometricUtilities_BooleanOperation.hxx>
23#include <NXOpen/GeometricUtilities_EndHoleData.hxx>
24#include <NXOpen/GeometricUtilities_MiddleHoleData.hxx>
25#include <NXOpen/GeometricUtilities_ProjectionOptions.hxx>
26#include <NXOpen/GeometricUtilities_StartHoleData.hxx>
27#include <NXOpen/Features_FeatureBuilder.hxx>
28#include <NXOpen/Section.hxx>
29#include <NXOpen/SelectObject.hxx>
30#include <NXOpen/libnxopencpp_features_exports.hxx>
31#ifdef _MSC_VER
32#pragma warning(push)
33#pragma warning(disable:4996)
34#endif
35#ifdef __GNUC__
36#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
37#endif
38namespace NXOpen
39{
40 namespace Features
41 {
43 }
44 class Expression;
45 namespace Features
46 {
47 class FeatureBuilder;
48 }
49 namespace GeometricUtilities
50 {
51 class BooleanOperation;
52 }
53 namespace GeometricUtilities
54 {
55 class EndHoleData;
56 }
57 namespace GeometricUtilities
58 {
59 class MiddleHoleData;
60 }
61 namespace GeometricUtilities
62 {
64 }
65 namespace GeometricUtilities
66 {
67 class StartHoleData;
68 }
69 class Section;
71 namespace Features
72 {
73 class _HolePackageBuilderBuilder;
74 class HolePackageBuilderImpl;
412 class NXOPENCPP_FEATURESEXPORT HolePackageBuilder : public NXOpen::Features::FeatureBuilder
413 {
417 public: enum NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::TypesOfHole and NXOpen::Features::HolePackageBuilder::SizesOfHole instead.") Types
418 {
419 TypesGeneralHole,
420 TypesDrillSizeHole,
421 TypesScrewClearanceHole,
422 TypesThreadedHole,
423 TypesHoleSeries
424 };
425
428 public: enum NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::TypesOfHole instead.") HoleForms
429 {
430 HoleFormsSimple,
431 HoleFormsCounterbored,
432 HoleFormsCountersink,
433 HoleFormsTapered
434 };
438 public: enum NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::TypesOfHole instead.") Holetype
439 {
440 HoletypeSimple,
441 HoletypeCounterbored,
442 HoletypeCountersink,
443 HoletypeTapered,
444 HoletypeThreaded,
445 HoletypeSeries
446 };
457
460 public: enum NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::SizesOfHole instead.") Holesize
461 {
462 HolesizeCustom,
463 HolesizeDrillSize,
464 HolesizeClearance
465 };
473
479
487
494
506
512 private: HolePackageBuilderImpl * m_holepackagebuilder_impl;
513 private: friend class _HolePackageBuilderBuilder;
514 protected: HolePackageBuilder();
515public: ~HolePackageBuilder();
520 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::TypeOfHole and NXOpen::Features::HolePackageBuilder::SizeOfHole instead.") NXOpen::Features::HolePackageBuilder::Types Type
521 (
522 );
527 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::SetTypeOfHole and NXOpen::Features::HolePackageBuilder::SetSizeOfHole instead.") void SetType
528 (
529 NXOpen::Features::HolePackageBuilder::Types type
530 );
535 (
536 );
541 (
542 );
546 public: void SetThreadSize
547 (
548 const NXString & threadSize
549 );
554 (
555 const char * threadSize
556 );
561 (
562 );
567 (
568 );
573 (
574 NXOpen::Features::HolePackageBuilder::ThreadLengthOptions threadLengthOption
575 );
580 (
581 );
586 (
587 );
591 public: void SetThreadRotation
592 (
593 NXOpen::Features::HolePackageBuilder::ThreadRotationOptions threadRotation
594 );
599 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::TypeOfHole instead.") NXOpen::Features::HolePackageBuilder::HoleForms GeneralHoleForm
600 (
601 );
606 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::SetTypeOfHole instead.") void SetGeneralHoleForm
607 (
608 NXOpen::Features::HolePackageBuilder::HoleForms holeForm
609 );
614 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::TypeOfHole instead.") NXOpen::Features::HolePackageBuilder::HoleForms ScrewClearanceHoleForm
615 (
616 );
621 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use NXOpen::Features::HolePackageBuilder::SetTypeOfHole instead.") void SetScrewClearanceHoleForm
622 (
623 NXOpen::Features::HolePackageBuilder::HoleForms holeForm
624 );
628 public: NXOpen::GeometricUtilities::ProjectionOptions * ProjectionDirection
629 (
630 );
635 (
636 );
640 public: void SetScrewType
641 (
642 const NXString & screwType
643 );
648 (
649 const char * screwType
650 );
655 (
656 );
660 public: void SetScrewSize
661 (
662 const NXString & screwSize
663 );
668 (
669 const char * screwSize
670 );
675 (
676 );
680 public: void SetScrewFitOption
681 (
682 const NXString & screwFitOption
683 );
688 (
689 const char * screwFitOption
690 );
695 (
696 );
700 public: void SetDrillSize
701 (
702 const NXString & drillSize
703 );
708 (
709 const char * drillSize
710 );
715 (
716 );
721 (
722 const NXString & drillSizeFitOption
723 );
728 (
729 const char * drillSizeFitOption
730 );
735 (
736 );
741 (
742 const NXString & radialEngageOption
743 );
748 (
749 const char * radialEngageOption
750 );
755 (
756 );
761 (
762 );
767 (
768 );
773 (
774 );
779 (
780 );
785 (
786 );
791 (
792 );
797 (
798 );
803 (
804 );
809 (
810 );
815 (
816 );
821 (
822 );
827 (
828 );
833 (
834 );
839 (
840 );
845 (
846 );
851 (
852 );
857 (
858 NXOpen::Features::HolePackageBuilder::HoleDepthLimitOptions holeDepthLimitOption
859 );
864 (
865 );
870 (
871 );
876 (
877 );
882 (
883 );
888 (
889 );
894 (
895 );
900 (
901 );
906 (
907 );
912 (
913 );
918 (
919 );
924 (
925 );
930 (
931 );
936 (
937 bool screwClearanceReliefEnabled
938 );
943 (
944 );
949 (
950 );
955 (
956 );
961 (
962 bool threadedReliefEnabled
963 );
968 (
969 );
974 (
975 );
980 (
981 );
986 (
987 bool reliefChamferEnabled
988 );
993 (
994 );
999 (
1000 );
1005 (
1006 );
1011 (
1012 bool drillSizeStartChamferEnabled
1013 );
1018 (
1019 );
1022 (
1023 );
1026 (
1027 );
1030 (
1031 bool screwClearanceStartChamferEnabled
1032 );
1035 (
1036 );
1039 (
1040 );
1043 (
1044 );
1047 (
1048 bool threadedStartChamferEnabled
1049 );
1052 (
1053 );
1056 (
1057 );
1060 (
1061 );
1064 (
1065 bool drillSizeEndChamferEnabled
1066 );
1069 (
1070 );
1073 (
1074 );
1077 (
1078 );
1081 (
1082 bool screwClearanceEndChamferEnabled
1083 );
1086 (
1087 );
1092 (
1093 );
1098 (
1099 );
1104 (
1105 bool threadedEndChamferEnabled
1106 );
1111 (
1112 );
1117 (
1118 );
1123 (
1124 );
1129 (
1130 bool neckChamferEnabled
1131 );
1136 (
1137 );
1142 (
1143 );
1148 (
1149 );
1154 (
1155 );
1160 (
1161 const NXString & drillSizeStandard
1162 );
1167 (
1168 const char * drillSizeStandard
1169 );
1174 (
1175 );
1179 public: void SetScrewStandard
1180 (
1181 const NXString & screwStandard
1182 );
1187 (
1188 const char * screwStandard
1189 );
1194 (
1195 );
1200 (
1201 const NXString & threadStandard
1202 );
1207 (
1208 const char * threadStandard
1209 );
1213 public: double Tolerance
1214 (
1215 );
1219 public: void SetTolerance
1220 (
1221 double tolerance
1222 );
1227 (
1228 );
1233 (
1234 );
1239 (
1240 );
1245 (
1246 );
1251 (
1252 bool startExtensionEnabled
1253 );
1257 public: void SetDepthOption
1258 (
1259 NXOpen::Features::HolePackageBuilder::HoleDepthOptions depthOption
1260 );
1264 public: NXOpen::Features::HolePackageBuilder::HoleDepthOptions DepthOption
1265 (
1266 );
1271 (
1272 NXOpen::Features::HolePackageBuilder::CounterBoreDepthLimitOptions counterboreDepthLimitOption
1273 );
1278 (
1279 );
1284 (
1285 );
1290 (
1291 );
1296 (
1297 );
1302 (
1303 );
1307 public: bool ThreadAtBothEnds
1308 (
1309 );
1314 (
1315 bool threadAtBothEnds
1316 );
1321 (
1322 );
1327 (
1328 bool relateHoleDepthToThreadDepthToggleStatus
1329 );
1334 (
1335 );
1340 (
1341 );
1346 (
1347 bool projectPointEnabled
1348 );
1353 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::TypeOfHole instead.") NXOpen::Features::HolePackageBuilder::Holetype HoleType
1354 (
1355 );
1360 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::SetTypeOfHole instead.") void SetHoleType
1361 (
1362 NXOpen::Features::HolePackageBuilder::Holetype type
1363 );
1368 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::SizeOfHole instead.") NXOpen::Features::HolePackageBuilder::Holesize HoleSize
1369 (
1370 );
1375 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use NXOpen::Features::HolePackageBuilder::SetSizeOfHole instead.") void SetHoleSize
1376 (
1377 NXOpen::Features::HolePackageBuilder::Holesize form
1378 );
1383 (
1384 );
1389 (
1390 bool customReliefEnabled
1391 );
1396 (
1397 );
1402 (
1403 );
1408 (
1409 bool customStartChamferEnabled
1410 );
1415 (
1416 );
1421 (
1422 );
1427 (
1428 );
1433 (
1434 bool customEndChamferEnabled
1435 );
1440 (
1441 );
1446 (
1447 );
1452 (
1453 );
1458 (
1459 bool neckChamferEnabled
1460 );
1465 (
1466 );
1471 (
1472 );
1476 public: NXOpen::Features::HolePackageBuilder::TypesOfHole TypeOfHole
1477 (
1478 );
1482 public: void SetTypeOfHole
1483 (
1484 NXOpen::Features::HolePackageBuilder::TypesOfHole type
1485 );
1489 public: NXOpen::Features::HolePackageBuilder::SizesOfHole SizeOfHole
1490 (
1491 );
1495 public: void SetSizeOfHole
1496 (
1497 NXOpen::Features::HolePackageBuilder::SizesOfHole form
1498 );
1499 };
1500 }
1501}
1502#ifdef _MSC_VER
1503#pragma warning(pop)
1504#endif
1505#ifdef __GNUC__
1506#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1507#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1508#endif
1509#endif
1510#undef EXPORTLIBRARY