NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_BaseCustomSymbol.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_BaseCustomSymbol.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/Annotations_AssociatedObject.hxx>
22#include <NXOpen/Annotations_CustomSymbolData.hxx>
23#include <NXOpen/Annotations_LeaderBundle.hxx>
24#include <NXOpen/CustomSymbols.hxx>
25#include <NXOpen/Annotations_DraftingAid.hxx>
26#include <NXOpen/Annotations_IPmi.hxx>
27#include <NXOpen/INXObject.hxx>
28#include <NXOpen/ugmath.hxx>
29#include <NXOpen/libnxopencpp_annotations_exports.hxx>
30#ifdef _MSC_VER
31#pragma warning(push)
32#pragma warning(disable:4996)
33#endif
34#ifdef __GNUC__
35#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36#endif
37namespace NXOpen
38{
39 namespace Annotations
40 {
41 class BaseCustomSymbol;
42 }
43 namespace Annotations
44 {
45 class Annotation;
46 }
47 namespace Annotations
48 {
49 class AssociatedObject;
50 }
51 namespace Annotations
52 {
53 class BusinessModifier;
54 }
55 namespace Annotations
56 {
57 class CustomSymbolData;
58 }
59 namespace Annotations
60 {
61 class DraftingAid;
62 }
63 namespace Annotations
64 {
65 class IPmi;
66 }
67 namespace Annotations
68 {
69 class LeaderBundle;
70 }
71 namespace Assemblies
72 {
73 class Component;
74 }
75 class BasePart;
76 class INXObject;
77 class Point;
78 namespace Annotations
79 {
80 class _BaseCustomSymbolBuilder;
81 class BaseCustomSymbolImpl;
85 class NXOPENCPP_ANNOTATIONSEXPORT BaseCustomSymbol : public NXOpen::Annotations::DraftingAid, public virtual NXOpen::Annotations::IPmi
86 {
87 private: BaseCustomSymbolImpl * m_basecustomsymbol_impl;
88 private: friend class _BaseCustomSymbolBuilder;
89 protected: BaseCustomSymbol();
90 public: ~BaseCustomSymbol();
95 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and NXOpen::Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.") NXOpen::Annotations::CustomSymbolData * GetSymbolData
96 (
97 );
104 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and NXOpen::Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.") void SetSymbolData
105 (
106 NXOpen::Annotations::CustomSymbolData * data
107 );
114 public: void FlipSymbol
115 (
117 );
123 (
124 const NXOpen::Point3d & origin ,
125 double scale ,
126 double angle
127 );
133 public: void AddLeader
134 (
136 );
142 public: void RemoveLeader
143 (
144 int nthLeader
145 );
149 public: void SynchronizeSymbol
150 (
151 );
157 public: void ReplaceSymbol
158 (
159 const NXString & name ,
160 const NXString & path ,
161 bool isPartSymbol
162 );
169 (
170 const char * name ,
171 const char * path ,
172 bool isPartSymbol
173 );
178 (
179 );
184 (
185 );
191 public: void SetAnchor
192 (
193 NXOpen::Point * anchorPoint
194 );
202 public: void UpdateFromRule
203 (
204 );
208 public: virtual std::vector<NXOpen::Annotations::BusinessModifier *> GetBusinessModifiers
209 (
210 );
216 public: virtual void SetBusinessModifiers
217 (
218 const std::vector<NXOpen::Annotations::BusinessModifier *> & businessModifiers
219 );
223 public: virtual void AddBusinessModifiers
224 (
225 const std::vector<NXOpen::Annotations::BusinessModifier *> & businessModifiers
226 );
231 (
232 );
237 (
238 );
247 public: virtual void SetAssociatedObject
248 (
250 );
256 public: virtual int Index
257 (
258 );
264 public: virtual void SetIndex
265 (
266 int index
267 );
271 public: virtual bool IsMirrored
272 (
273 );
277 public: virtual bool IsWaveLinked
278 (
279 );
284 (
285 );
289 public: virtual bool HasUniversallyUniqueId
290 (
291 );
296 (
297 );
304 public: virtual bool AssignUniversallyUniqueId
305 (
306 );
307};
308 }
309}
310#ifdef _MSC_VER
311#pragma warning(pop)
312#endif
313#ifdef __GNUC__
314#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
315#pragma GCC diagnostic warning "-Wdeprecated-declarations"
316#endif
317#endif
318#undef EXPORTLIBRARY