NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_SewBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_SewBuilder.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/DisplayableObject.hxx>
22#include <NXOpen/GeometricAnalysis_SheetBoundaryAnalysisBuilder.hxx>
23#include <NXOpen/Features_FeatureBuilder.hxx>
24#include <NXOpen/ScCollector.hxx>
25#include <NXOpen/SelectObjectList.hxx>
26#include <NXOpen/libnxopencpp_features_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Features
37 {
38 class SewBuilder;
39 }
40 namespace Features
41 {
42 class FeatureBuilder;
43 }
44 namespace GeometricAnalysis
45 {
47 }
48 class NXObject;
49 class ScCollector;
51 class SelectFaceList;
52 namespace Features
53 {
54 class _SewBuilderBuilder;
55 class SewBuilderImpl;
92 class NXOPENCPP_FEATURESEXPORT SewBuilder : public NXOpen::Features::FeatureBuilder
93 {
95 public: enum Types
96 {
99 };
100
106
113 private: SewBuilderImpl * m_sewbuilder_impl;
114 private: friend class _SewBuilderBuilder;
115 protected: SewBuilder();
116public: ~SewBuilder();
121 (
122 );
126 public: void SetType
127 (
129 );
134 public: NX_DEPRECATED("Deprecated in NX2312.0.0. Use TargetBodiesCollector instead.") NXOpen::SelectDisplayableObjectList * TargetBodies
135 (
136 );
141 (
142 );
147 public: NX_DEPRECATED("Deprecated in NX2312.0.0. Use ToolBodiesCollector instead.") NXOpen::SelectDisplayableObjectList * ToolBodies
148 (
149 );
154 (
155 );
160 (
161 );
166 (
167 );
172 (
173 );
178 (
179 bool isCommonFacesSearched
180 );
185 (
186 );
191 (
192 bool outputMultipleSheets
193 );
198 public: NX_DEPRECATED("Deprecated in NX9.0.0. This is for pre NX8 usage; new features cannot be created by using this option in NX8 or later, it is safe to remove this call for post-NX8. ") bool SewAllInstances
199 (
200 );
205 public: NX_DEPRECATED("Deprecated in NX9.0.0. This is for pre NX8 usage; new features cannot be created by using this option in NX8 or later, it is safe to remove this call for post-NX8. ") void SetSewAllInstances
206 (
207 bool sewAllInstances
208 );
212 public: double Tolerance
213 (
214 );
218 public: void SetTolerance
219 (
220 double tolerance
221 );
226 (
227 );
231 public: void SetBodyPreference
232 (
233 NXOpen::Features::SewBuilder::BodyPreferenceTypes bodyPreference
234 );
238 public: std::vector<NXOpen::NXObject *> GetUnsewnBodies
239 (
240 );
244 public: NXOpen::GeometricAnalysis::SheetBoundaryAnalysisBuilder * SheetBoundaryAOBuilder
245 (
246 );
251 (
252 NXOpen::GeometricAnalysis::SheetBoundaryAnalysisBuilder * sheetBoundaryAOBuilder
253 );
258 (
259 );
264 (
265 NXOpen::Features::SewBuilder::BoundaryDisplayValue boundaryDisplay
266 );
270 public: NXOpen::DisplayableObject::ObjectWidth LineWidth
271 (
272 );
276 public: void SetLineWidth
277 (
278 NXOpen::DisplayableObject::ObjectWidth lineWidth
279 );
284 (
285 );
290 (
291 int sheetBoundaryColor
292 );
297 (
298 );
303 (
304 bool showBoundaryVertices
305 );
309 public: bool KeepTarget
310 (
311 );
315 public: void SetKeepTarget
316 (
317 bool keepTarget
318 );
322 public: bool KeepTool
323 (
324 );
328 public: void SetKeepTool
329 (
330 bool keepTool
331 );
335 public: bool OptimizeFaces
336 (
337 );
341 public: void SetOptimizeFaces
342 (
343 bool optimizeFaces
344 );
348 public: bool CheckTangency
349 (
350 );
354 public: void SetCheckTangency
355 (
356 bool checkTangency
357 );
358 };
359 }
360}
361#ifdef _MSC_VER
362#pragma warning(pop)
363#endif
364#ifdef __GNUC__
365#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
366#pragma GCC diagnostic warning "-Wdeprecated-declarations"
367#endif
368#endif
369#undef EXPORTLIBRARY