NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Assemblies_ReplaceComponentBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Assemblies_ReplaceComponentBuilder.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/Builder.hxx>
23#include <NXOpen/PartLoadStatus.hxx>
24#include <NXOpen/SelectObjectList.hxx>
25#include <NXOpen/libnxopencpp_assemblies_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 namespace Assemblies
36 {
38 }
39 class Builder;
40 class ErrorList;
41 class PartLoadStatus;
43 namespace Assemblies
44 {
45 class _ReplaceComponentBuilderBuilder;
46 class ReplaceComponentBuilderImpl;
75 class NXOPENCPP_ASSEMBLIESEXPORT ReplaceComponentBuilder : public NXOpen::Builder
76 {
85
93
100 private: ReplaceComponentBuilderImpl * m_replacecomponentbuilder_impl;
101 private: friend class _ReplaceComponentBuilderBuilder;
102 protected: ReplaceComponentBuilder();
108 (
109 );
114 (
115 );
120 (
121 const NXString & replacementPart
122 );
127 (
128 const char * replacementPart
129 );
134 (
135 );
140 (
141 bool maintainRelationships
142 );
147 (
148 );
153 (
154 bool replaceAllOccurrences
155 );
160 (
161 );
166 (
168 );
173 (
174 );
178 public: void SetComponentName
179 (
180 const NXString & componentName
181 );
186 (
187 const char * componentName
188 );
193 (
194 NXString* referenceSetName
195 );
200 (
202 const NXString & referenceSetName
203 );
208 (
210 const char * referenceSetName
211 );
216 (
217 );
222 (
224 );
233 public: int ComponentLayer
234 (
235 );
244 public: void SetComponentLayer
245 (
246 int componentLayer
247 );
253 (
254 );
259 (
260 );
265 (
266 bool allowTemporaryPartsToReplace
267 );
272 (
273 );
274 };
275 }
276}
277#ifdef _MSC_VER
278#pragma warning(pop)
279#endif
280#ifdef __GNUC__
281#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
282#pragma GCC diagnostic warning "-Wdeprecated-declarations"
283#endif
284#endif
285#undef EXPORTLIBRARY