NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Tooling_FastenerAssy.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口工具FastenerAssy的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Tooling_FastenerAssy.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/Builder.hxx>
22#include <NXOpen/Tooling_AddReusablePart.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_tooling_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 Tooling
35 {
36 class FastenerAssy;
37 }
38 namespace Assemblies
39 {
40 class Component;
41 }
42 namespace Assemblies
43 {
45 }
46 class Builder;
47 namespace Features
48 {
49 class Feature;
50 }
51 class NXObject;
52 class Sketch;
53 namespace Tooling
54 {
55 class AddReusablePart;
56 }
57 namespace Tooling
58 {
60 }
61 namespace Tooling
62 {
64 }
65 namespace Tooling
66 {
67 class _FastenerAssyBuilder;
68 class FastenerAssyImpl;
266 class NXOPENCPP_TOOLINGEXPORT FastenerAssy : public NXOpen::Builder
267 {
269 public: enum ModeMethod
270 {
273 };
274
286
292
298
304 private: FastenerAssyImpl * m_fastenerassy_impl;
305 private: friend class _FastenerAssyBuilder;
306 protected: FastenerAssy();
307public: ~FastenerAssy();
312 (
313 const NXOpen::Point3d & point ,
314 const NXOpen::Point3d & direction ,
315 NXOpen::NXObject * selObject ,
316 int index
317 );
321 public: void SetHoleDiameter
322 (
323 double diameter ,
324 int index
325 );
329 public: void SetHoleDirection
330 (
331 const NXOpen::Point3d & direction ,
332 int index
333 );
338 (
339 NXOpen::NXObject * sideCylFace ,
340 int index
341 );
345 public: void SetCreatePocket
346 (
347 bool create
348 );
352 public: void SetHoleFaces
353 (
354 NXOpen::NXObject * holeFace ,
355 int index
356 );
360 public: void AddScrewArray
361 (
362 const NXString & krxFile ,
363 const NXString & lengthMatch ,
364 const NXString & libPath ,
365 const NXString & libName ,
366 const NXString & fullPath ,
367 int index ,
369 );
374 (
375 const char * krxFile ,
376 const char * lengthMatch ,
377 const char * libPath ,
378 const char * libName ,
379 const char * fullPath ,
380 int index ,
382 );
386 public: void AddParentNewPart
387 (
388 const NXString & fileName ,
389 int index ,
390 bool parentNode
391 );
396 (
397 const char * fileName ,
398 int index ,
399 bool parentNode
400 );
404 public: void SetItemName
405 (
406 const NXString & partName ,
407 const NXString & itemName
408 );
413 (
414 const char * partName ,
415 const char * itemName
416 );
420 public: void SetHolePosition
421 (
422 const NXOpen::Point3d & position ,
423 int index
424 );
429 (
430 NXOpen::NXObject * defaultCylFaces ,
431 int index
432 );
437 (
438 const NXOpen::Point3d & originposition ,
439 int index
440 );
444 public: void SetHoleHeight
445 (
446 double height ,
447 int index
448 );
453 (
454 double originheight ,
455 int index
456 );
460 public: void SetHoleStandard
461 (
462 const NXString & holeStandard ,
463 int index
464 );
469 (
470 const char * holeStandard ,
471 int index
472 );
476 public: void SetHoleType
477 (
478 const NXString & holeType ,
479 int index
480 );
485 (
486 const char * holeType ,
487 int index
488 );
492 public: void SetHoleForm
493 (
494 const NXString & holeForm ,
495 int index
496 );
501 (
502 const char * holeForm ,
503 int index
504 );
509 (
510 double extentLength
511 );
516 (
517 int index ,
518 const NXString & extentLengthFormula
519 );
524 (
525 int index ,
526 const char * extentLengthFormula
527 );
532 (
533 double originDiameter ,
534 int index
535 );
540 (
542 );
547 (
548 );
552 public: void SetHoleDatumCsys
553 (
554 NXOpen::NXObject * datumCsys ,
555 int index
556 );
561 (
562 bool adjustLength
563 );
568 (
569 int addedIndex ,
570 int index
571 );
575 public: void EraseStackArray
576 (
577 int parentIndex ,
578 int inx ,
580 );
585 (
586 int parentInx ,
587 bool removeParent ,
588 bool removeScrew ,
589 bool removeStack ,
590 bool removeArray ,
591 bool removeBuilder ,
592 bool initscrewBuilder ,
593 bool initstackBuilder ,
594 bool removeData
595 );
600 (
601 );
606 (
607 int index
608 );
613 (
614 int index
615 );
620 (
621 NXOpen::NXObject * sidePlanarFace ,
622 int index
623 );
628 (
629 NXOpen::NXObject * defaultPlanarFace ,
630 int inx
631 );
636 (
637 NXOpen::NXObject * instanceFeature ,
638 int inx
639 );
644 (
645 int parentIndex ,
646 int childIndex ,
648 );
653 (
654 int parentIndex ,
655 bool updateScrew ,
656 bool updatePocket
657 );
661 public: void UpdateHoleData
662 (
663 int inx ,
664 double originheight ,
665 const NXOpen::Point3d & originPoint ,
666 bool threadhole ,
667 bool blindhole
668 );
673 (
674 bool commit
675 );
680 (
681 );
685 public: void SelectScrewSize
686 (
687 int inx ,
688 double diameter ,
689 double origindiameter ,
690 bool selDiameter
691 );
696 (
697 int parentIndex ,
698 int childIndex ,
700 );
705 (
706 int parentIndex ,
707 int childIndex ,
709 const NXString & partFile ,
710 const NXString & krxFile ,
711 const NXString & libName ,
712 const NXString & pathInLib ,
713 const NXString & lengthMatch ,
714 const NXString & fullPath
715 );
720 (
721 int parentIndex ,
722 int childIndex ,
724 const char * partFile ,
725 const char * krxFile ,
726 const char * libName ,
727 const char * pathInLib ,
728 const char * lengthMatch ,
729 const char * fullPath
730 );
734 public: void SaveUdoData
735 (
736 );
740 public: void SetFastenerMode
741 (
743 );
748 (
749 );
753 public: void EraseAssemblyData
754 (
755 int parentIndex
756 );
760 public: void UpdateHolePostion
761 (
762 int parentIndex ,
763 const NXOpen::Point3d & dirOne ,
764 const NXOpen::Point3d & tempPnt ,
765 const NXOpen::Point3d & pointOne ,
766 double height ,
767 double orignHeight ,
768 double offSetDistance
769 );
773 public: void SetReuseBuilder
774 (
775 int index ,
777 int childIndex ,
779 );
783 public: void RenameParentNode
784 (
785 int index ,
786 const NXString & newname
787 );
792 (
793 int index ,
794 const char * newname
795 );
799 public: void CreateArrayHole
800 (
801 int index
802 );
806 public: void DeleteArrayHole
807 (
808 int index
809 );
813 public: void InitPocketBuilder
814 (
815 );
820 (
821 int index ,
823 bool isSameFace ,
824 NXOpen::NXObject * face
825 );
830 (
831 int holeNum ,
833 );
838 (
839 int index ,
840 double extentLength
841 );
846 (
847 int index ,
848 const NXString & extentLengthFormula
849 );
854 (
855 int index ,
856 const char * extentLengthFormula
857 );
862 (
863 int index ,
864 const NXString & standard ,
865 const NXString & form ,
866 const NXString & type
867 );
872 (
873 int index ,
874 const char * standard ,
875 const char * form ,
876 const char * type
877 );
882 (
883 );
888 (
889 int index
890 );
895 (
896 int parentIndex ,
897 int childIndex ,
899 double deltaLength
900 );
905 (
907 );
912 (
913 );
918 (
919 int index
920 );
924 public: void SetBlindHole
925 (
926 int inx ,
927 bool blindhole
928 );
933 (
934 );
939 (
940 NXOpen::Sketch * sketch
941 );
946 (
947 bool createPattern
948 );
953 (
954 );
959 (
960 const NXOpen::Point3d & tempPnt
961 );
966 (
967 NXOpen::Assemblies::ComponentPatternBuilder * patternComponentBuilderTag
968 );
973 (
974 );
979 (
980 NXOpen::NXObject * selobj ,
981 const NXOpen::Point3d & inputPosition ,
982 bool centerFace
983 );
988 (
989 double offsetValue
990 );
995 (
996 double offsetDistance
997 );
1002 (
1003 );
1008 (
1009 NXOpen::NXObject * selobj ,
1010 const NXOpen::Point3d & inputPosition ,
1011 bool centerFace
1012 );
1017 (
1018 int inx ,
1019 NXOpen::Tooling::FastenerAssyObject * fastenerObject
1020 );
1025 (
1026 );
1027 };
1028 }
1029}
1030#ifdef _MSC_VER
1031#pragma warning(pop)
1032#endif
1033#ifdef __GNUC__
1034#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1035#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1036#endif
1037#endif
1038#undef EXPORTLIBRARY