NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Assemblies_AddComponentBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Assemblies_AddComponentBuilder.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/ErrorList.hxx>
22#include <NXOpen/FileNew.hxx>
23#include <NXOpen/Builder.hxx>
24#include <NXOpen/IAttributeSourceObjectBuilder.hxx>
25#include <NXOpen/PartLoadStatus.hxx>
26#include <NXOpen/ugmath.hxx>
27#include <NXOpen/libnxopencpp_assemblies_exports.hxx>
28#ifdef _MSC_VER
29#pragma warning(push)
30#pragma warning(disable:4996)
31#endif
32#ifdef __GNUC__
33#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34#endif
35namespace NXOpen
36{
37 namespace Assemblies
38 {
40 }
41 namespace Assemblies
42 {
44 {
45 class InterfaceObject;
46 }
47 }
48 class BasePart;
49 class Builder;
50 class ConfiguredPart;
51 class CoordinateSystem;
52 class ErrorList;
53 class FileNew;
55 class NXObject;
56 namespace PDM
57 {
58 class ConfigurationContext;
59 }
60 namespace PDM
61 {
62 class LogicalObject;
63 }
64 class PartLoadStatus;
65 class Point;
66 namespace Assemblies
67 {
68 class _AddComponentBuilderBuilder;
69 class AddComponentBuilderImpl;
76 class NXOPENCPP_ASSEMBLIESEXPORT AddComponentBuilder : public NXOpen::Builder, public virtual NXOpen::IAttributeSourceObjectBuilder
77 {
86
93 private: AddComponentBuilderImpl * m_addcomponentbuilder_impl;
94 private: friend class _AddComponentBuilderBuilder;
95 protected: AddComponentBuilder();
96public: ~AddComponentBuilder();
101 (
102 );
107 (
108 const NXString & deType
109 );
114 (
115 const char * deType
116 );
121 (
122 );
126 public: void SetComponentName
127 (
128 const NXString & componentName
129 );
134 (
135 const char * componentName
136 );
141 (
142 );
146 public: void SetReferenceSet
147 (
148 const NXString & referenceSet
149 );
154 (
155 const char * referenceSet
156 );
160 public: int Layer
161 (
162 );
166 public: void SetLayer
167 (
168 int layer
169 );
173 public: void GetPartsToAdd
174 (
175 std::vector<NXOpen::BasePart *> & partsToUse
176 );
180 public: void SetPartsToAdd
181 (
182 const std::vector<NXOpen::BasePart *> & partsToUse
183 );
188 (
189 const std::vector<NXOpen::BasePart *> & partsToRemove
190 );
192
195 public: void GetConfiguredPartsToAdd
196 (
197 std::vector<NXOpen::ConfiguredPart *> & configuredPartsToUse
198 );
201
204 public: void SetConfiguredPartsToAdd
205 (
206 const std::vector<NXOpen::ConfiguredPart *> & configuredParts
207 );
210
213 public: void RemoveConfiguredPartsFromSelection
214 (
215 const std::vector<NXOpen::ConfiguredPart *> & configuredPartsToRemove
216 );
218
222 (
223 );
228 (
229 );
233 public: int GetCount
234 (
235 );
239 public: void SetCount
240 (
241 int count
242 );
247 (
248 );
253 (
255 );
260 (
261 NXOpen::Point ** initialLocation ,
262 NXOpen::CoordinateSystem ** initialOrientation
263 );
268 (
269 NXOpen::Point * initialLocation ,
270 NXOpen::CoordinateSystem * initialOrientation
271 );
276 (
277 const NXOpen::Point3d & point ,
278 const NXOpen::Matrix3x3 & orientation
279 );
283 public: bool GetScatterOption
284 (
285 );
289 public: void SetScatterOption
290 (
291 bool scatterOption
292 );
297 (
298 );
303 (
304 bool allow
305 );
310 (
311 );
316 (
317 bool keepConstraintsOption
318 );
323 (
324 );
329 (
331 );
336 (
337 std::vector<NXOpen::Assemblies::ProductInterface::InterfaceObject *> & productInterfaceObjects
338 );
342 public: void GetLogicalObjects
343 (
344 std::vector<NXOpen::PDM::LogicalObject *> & logicalObjects
345 );
350 (
351 std::vector<NXOpen::PDM::LogicalObject *> & logicalObjects
352 );
357 (
358 );
362 public: void ResetToSnapped
363 (
364 );
368 public: void OrientToWCS
369 (
370 );
374 public: void ReverseZDirection
375 (
376 );
381 (
382 );
387 (
388 bool synchDisplayProperties
389 );
394 (
395 );
400 (
402 );
407 (
408 NXOpen::NXObject * pendingInstance
409 );
411
414 public: NXOpen::ConfiguredPart * LoadSecondaryConfiguration
415 (
416 const NXString & partSpec ,
417 NXOpen::PDM::ConfigurationContext * configContext ,
418 NXOpen::PartLoadStatus ** loadStatus
419 );
423 NXOpen::ConfiguredPart * LoadSecondaryConfiguration
424 (
425 const char * partSpec ,
426 NXOpen::PDM::ConfigurationContext * configContext ,
427 NXOpen::PartLoadStatus ** loadStatus
428 );
430
433 public: void ResetPartsToAdd
434 (
435 );
440 (
441 bool useRefSetCSYS
442 );
447 (
448 const std::vector<NXOpen::NXObject *> & objects
449 );
455 (
456 const std::vector<NXOpen::NXObject *> & objects ,
457 const std::vector<NXOpen::NXObject *> & properties
458 );
463 (
464 std::vector<NXString> & attributeTitles ,
465 std::vector<NXString> & titlePatterns
466 );
473 public: virtual void GetItemRevisionNamingRules
474 (
475 NXOpen::NXObject * object ,
476 std::vector<NXString> & revOptions
477 );
483 public: virtual void GetItemNamingRulePatterns
484 (
485 NXOpen::NXObject * object ,
486 std::vector<NXString> & patternList
487 );
488 };
489 }
490}
491#ifdef _MSC_VER
492#pragma warning(pop)
493#endif
494#ifdef __GNUC__
495#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
496#pragma GCC diagnostic warning "-Wdeprecated-declarations"
497#endif
498#endif
499#undef EXPORTLIBRARY