NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Tooling_StandardPartBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// Header for C++ interface to JA API
5//--------------------------------------------------------------------------
6//
7// Source File:
8// Tooling_StandardPartBuilder.ja
9//
10// Generated by:
11// apiwrap
12//
13// WARNING:
14// This file is automatically generated - do not edit by hand
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/SelectObject.hxx>
23#include <NXOpen/Tooling_CloneObject.hxx>
24#include <NXOpen/Tooling_ConceptStandardPartRecord.hxx>
25#include <NXOpen/Tooling_SpreadsheetData.hxx>
26#include <NXOpen/Tooling_StandardPartData.hxx>
27#include <NXOpen/ugmath.hxx>
28#include <NXOpen/libnxopencpp_tooling_exports.hxx>
29#ifdef _MSC_VER
30#pragma warning(push)
31#pragma warning(disable:4996)
32#endif
33#ifdef __GNUC__
34#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35#endif
36namespace NXOpen
37{
38 namespace Tooling
39 {
41 }
42 namespace Assemblies
43 {
44 class Component;
45 }
46 class Builder;
47 class NXObject;
48 class Part;
49 class SelectNXObject;
50 namespace Tooling
51 {
52 class CloneObject;
53 }
54 namespace Tooling
55 {
57 }
58 namespace Tooling
59 {
60 class SpreadsheetData;
61 }
62 namespace Tooling
63 {
64 class StandardPartData;
65 }
66 namespace Tooling
67 {
68 class _StandardPartBuilderBuilder;
69 class StandardPartBuilderImpl;
97 class NXOPENCPP_TOOLINGEXPORT StandardPartBuilder : public NXOpen::Builder
98 {
106
114 private: StandardPartBuilderImpl * m_standardpartbuilder_impl;
115 private: friend class _StandardPartBuilderBuilder;
116 protected: StandardPartBuilder();
117public: ~StandardPartBuilder();
122 (
123 );
128 (
129 );
134 (
136 );
140 public: bool ConceptDesign
141 (
142 );
146 public: void SetConceptDesign
147 (
148 bool conceptDesign
149 );
153 public: bool RenameComponents
154 (
155 );
160 (
161 bool renameComponents
162 );
166 public: bool ShowInfoWindow
167 (
168 );
172 public: void SetShowInfoWindow
173 (
174 bool showInfoWindow
175 );
179 public: void Help
180 (
181 );
185 public: void Reposition
186 (
187 );
191 public: void Flip
192 (
193 );
197 public: void RemoveComponent
198 (
199 );
204 (
205 );
210 (
211 );
216 (
217 );
221 public: void SetReferenceSet
222 (
224 );
229 (
230 );
235 (
236 bool associativePosition
237 );
241 public: bool CompPattern
242 (
243 );
247 public: void SetCompPattern
248 (
249 bool useCompPattern
250 );
254 public: void EditRegister
255 (
256 );
260 public: void EditDataBase
261 (
262 );
267 (
268 bool isFromMemberView ,
269 int dataType ,
270 const NXString & libName ,
271 const NXString & libPath
272 );
277 (
278 bool isFromMemberView ,
279 int dataType ,
280 const char * libName ,
281 const char * libPath
282 );
287 (
288 int dataType ,
289 const NXString & libName ,
290 const NXString & libPath
291 );
296 (
297 int dataType ,
298 const char * libName ,
299 const char * libPath
300 );
305 (
306 const NXString & libName
307 );
312 (
313 const char * libName
314 );
320 (
321 );
326 (
327 NXOpen::Tooling::StandardPartData * standardClientData
328 );
334 (
335 );
340 (
342 );
347 (
348 NXOpen::NXObject * objectWithParameters ,
349 bool isConcpetObject ,
351 );
356 (
358 );
363 (
365 );
370 (
372 bool addToExtraRefset ,
373 const NXString & refsetName
374 );
379 (
381 bool addToExtraRefset ,
382 const char * refsetName
383 );
387 public: std::vector<NXOpen::Assemblies::Component *> AddStandardPartsToPattern
388 (
389 NXOpen::Part * patternPart ,
390 const NXString & fileName ,
391 const NXString & refsetName ,
392 const NXString & instanceName
393 );
397 std::vector<NXOpen::Assemblies::Component *> AddStandardPartsToPattern
398 (
399 NXOpen::Part * patternPart ,
400 const char * fileName ,
401 const char * refsetName ,
402 const char * instanceName
403 );
408 (
410 const std::vector<NXOpen::NXObject *> & entities
411 );
416 (
417 const NXString & positionMethod ,
419 );
424 (
425 const char * positionMethod ,
427 );
431 public: void RemoveComponent
432 (
434 );
438 public: void RemoveMoldBase
439 (
441 );
445 public: void RotateMoldBase
446 (
448 double angle
449 );
454 (
455 NXOpen::Part * conceptMoldBasePart
456 );
460 public: void FlipComponent
461 (
463 );
468 (
470 );
475 (
476 );
481 (
482 int partOccIndex
483 );
488 (
489 );
494 (
495 );
500 (
501 bool isAddMoldBase
502 );
507 (
508 );
513 (
514 );
519 (
520 int positionType
521 );
526 (
527 );
532 (
533 NXOpen::NXObject * conceptObject
534 );
539 (
540 NXOpen::NXObject * conceptObject ,
541 std::vector<NXOpen::NXObject *> & pInstanceObjects
542 );
547 (
548 int installationType ,
549 const NXString & clonePartName
550 );
555 (
556 int installationType ,
557 const char * clonePartName
558 );
563 (
564 int actionType
565 );
569 public: void FreePositionData
570 (
571 );
576 (
577 );
582 (
584 );
589 (
590 NXOpen::NXObject * conceptObject
591 );
596 (
597 const NXString & positionType ,
598 bool isReorientView ,
599 NXOpen::NXObject * positionPlane ,
600 NXOpen::Point3d* positionPoint ,
601 NXOpen::Matrix3x3* positionMatrix
602 );
607 (
608 const char * positionType ,
609 bool isReorientView ,
610 NXOpen::NXObject * positionPlane ,
611 NXOpen::Point3d* positionPoint ,
612 NXOpen::Matrix3x3* positionMatrix
613 );
618 (
619 int acttionType
620 );
625 (
626 );
631 (
632 );
637 (
638 bool associativePointPosition
639 );
644 (
645 const std::vector<NXOpen::NXObject *> & pConceptObjects
646 );
651 (
652 NXOpen::Assemblies::Component * partOccurrence ,
653 std::vector<NXString> & conditions
654 );
659 (
660 );
665 (
666 bool bUsePointPositionDialog
667 );
672 (
673 );
678 (
679 bool bUsePlanePositionDialog
680 );
685 (
686 );
691 (
692 bool bMakeReadonlyAfterEdit
693 );
698 (
699 const NXString & featureName ,
700 const NXString & partName ,
701 int featureType ,
702 NXOpen::Part ** owningPart
703 );
708 (
709 const char * featureName ,
710 const char * partName ,
711 int featureType ,
712 NXOpen::Part ** owningPart
713 );
718 (
719 NXOpen::Assemblies::Component * partOccurrence
720 );
725 (
726 int positionType
727 );
732 (
733 int positionType ,
734 NXOpen::NXObject * locatingPoint
735 );
740 (
741 NXOpen::Assemblies::Component * partOccurrence ,
742 NXOpen::NXObject * selectedCSYS
743 );
748 (
749 NXOpen::NXObject * linkedFeature ,
750 int featureType ,
751 bool fixAtTimestamp
752 );
757 (
758 NXOpen::Assemblies::Component * partOccurrence
759 );
764 (
765 bool makeReadOnly
766 );
771 (
772 NXOpen::NXObject * partInstance ,
773 NXOpen::NXObject * selectedCSYS
774 );
775 };
776 }
777}
778#ifdef _MSC_VER
779#pragma warning(pop)
780#endif
781#ifdef __GNUC__
782#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
783#pragma GCC diagnostic warning "-Wdeprecated-declarations"
784#endif
785#endif
786#undef EXPORTLIBRARY