NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_Feature.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_Feature.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/IFitTo.hxx>
22#include <NXOpen/INXObject.hxx>
23#include <NXOpen/IProfile.hxx>
24#include <NXOpen/NXObject.hxx>
25#include <NXOpen/PartLoadStatus.hxx>
26#include <NXOpen/ugmath.hxx>
27#include <NXOpen/libnxopencpp_features_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 Features
38 {
39 class Feature;
40 }
41 namespace Assemblies
42 {
43 class Component;
44 }
45 class BasePart;
46 class Body;
47 class Edge;
48 class Expression;
49 class Face;
50 namespace Features
51 {
53 }
54 class IFitTo;
55 class INXObject;
56 class IProfile;
57 class NXColor;
58 class NXObject;
59 class PartLoadStatus;
60 class Section;
61 namespace Features
62 {
63 class _FeatureBuilder;
64 class FeatureImpl;
68 class NXOPENCPP_FEATURESEXPORT Feature : public NXOpen::NXObject, public virtual NXOpen::IProfile, public virtual NXOpen::IFitTo
69 {
80
86 private: FeatureImpl * m_feature_impl;
87 private: friend class _FeatureBuilder;
88 protected: Feature();
89 public: ~Feature();
94 public: std::vector<NXOpen::Expression *> GetExpressions
95 (
96 );
100 public: std::vector<NXOpen::Body *> GetBodies
101 (
102 );
106 public: std::vector<NXOpen::Face *> GetFaces
107 (
108 );
112 public: std::vector<NXOpen::Edge *> GetEdges
113 (
114 );
118 public: std::vector<NXOpen::Features::Feature *> GetParents
119 (
120 );
128 public: std::vector<NXOpen::Features::Feature *> GetChildren
129 (
130 );
134 public: std::vector<NXOpen::Features::Feature *> GetAllChildren
135 (
136 );
141 public: NX_DEPRECATED("Deprecated in NX8.5.0. Algorithm version is for internal use only. There is no replacement for this method.") int AlgorithmVersion
142 (
143 );
148 (
149 );
153 public: int Timestamp
154 (
155 );
160 (
161 );
165 public: void Highlight
166 (
167 );
171 public: void Unhighlight
172 (
173 );
178 (
179 );
183 public: void ShowBody
184 (
185 bool moveCurves
186 );
190 public: void ShowParents
191 (
192 bool moveCurves
193 );
197 public: void HideBody
198 (
199 );
203 public: void HideParents
204 (
205 );
209 public: void Suppress
210 (
211 );
215 public: void Unsuppress
216 (
217 );
221 public: bool Suppressed
222 (
223 );
230 public: std::vector<NXOpen::NXObject *> GetEntities
231 (
232 );
237 (
238 );
243 (
244 );
249 (
250 );
255 (
256 );
261 (
262 );
266 public: std::vector<NXString> GetFeatureClueMessages
267 (
268 );
272 public: void DeleteClueAlerts
273 (
274 );
279 (
280 );
284 public: std::vector<NXString> GetFeatureHintMessages
285 (
286 );
290 public: void DeleteHintAlerts
291 (
292 );
297 (
298 );
303 (
304 );
308 public: void RemoveForEdit
309 (
310 bool dependent
311 );
315 public: void RemoveParameters
316 (
317 );
321 public: bool IsInternal
322 (
323 );
327 public: void ShowDimensions
328 (
329 );
334 (
335 );
339 public: std::vector<NXOpen::Section *> GetSections
340 (
341 );
345 public: void SetGroupActive
346 (
347 bool active
348 );
352 public: void LogDiagnostic
353 (
354 int errorCode ,
355 const NXString & message ,
356 NXOpen::Features::Feature::DiagnosticType diagnosticType
357 );
362 (
363 int errorCode ,
364 const char * message ,
365 NXOpen::Features::Feature::DiagnosticType diagnosticType
366 );
371 public: NX_DEPRECATED("在 NX9.0.0 中已过时。请使用 NXOpen::Features::Feature::ContainerFeature 并检查其是否为 NULL 替代。") bool IsContainedFeature
372 (
373 );
378 (
379 );
383 public: void ChangeBooleanType
384 (
385 );
390 (
391 );
395 public: bool BreakWaveLink
396 (
397 );
401 public: void LoadParentPart
402 (
403 );
408 (
409 );
411
415 public: NX_DEPRECATED("Deprecated in NX2007.0.0. Use JA_FEATURE_generate_feature_selection_data_string.") bool GenerateFeatureSelectionData
416 (
417 );
420
423 public: NXString GenerateFeatureSelectionDataString
424 (
425 );
427
430 public: bool IsOutOfDate
431 (
432 );
434
437 public: NXOpen::PartLoadStatus * LoadParentPartWithStatus
438 (
439 );
441
444 public: void ShowSlaveFeatures
445 (
446 std::vector<NXOpen::Features::Feature *> & slaveFeatures
447 );
451 public: void HideSlaveFeatures
452 (
453 const std::vector<NXOpen::Features::Feature *> & slaveFeatures
454 );
458 public: bool IsAssociative
459 (
460 );
461 };
462 }
463}
464#ifdef _MSC_VER
465#pragma warning(pop)
466#endif
467#ifdef __GNUC__
468#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
469#pragma GCC diagnostic warning "-Wdeprecated-declarations"
470#endif
471#endif
472#undef EXPORTLIBRARY