NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
DraftingManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// DraftingManager.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_ImportAutocadBlockBuilder.hxx>
22#include <NXOpen/Annotations_ImportSymbolBuilder.hxx>
23#include <NXOpen/Drawings_DrawingsPropertiesBuilder.hxx>
24#include <NXOpen/Drawings_MarkAsTemplateBuilder.hxx>
25#include <NXOpen/Drawings_SheetZoneReferenceBuilder.hxx>
26#include <NXOpen/TaggedObject.hxx>
27#include <NXOpen/libnxopencpp_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 class DraftingManager;
38 class Part;
39 namespace Annotations
40 {
42 }
43 namespace Annotations
44 {
46 }
48 namespace Drafting
49 {
51 }
52 namespace Drawings
53 {
55 }
56 namespace Drawings
57 {
59 }
60 namespace Drawings
61 {
63 }
64 namespace Drawings
65 {
67 }
68 namespace Drawings
69 {
71 }
72 class NXObject;
73 class DraftingManagerImpl;
77 class NXOPENCPPEXPORT DraftingManager
78 {
79 private: DraftingManagerImpl * m_draftingmanager_impl;
80 private: NXOpen::Part* m_owner;
82 public: explicit DraftingManager(NXOpen::Part *owner);
84 public:
86 tag_t Tag() const;
87 public: ~DraftingManager();
92 public: NX_DEPRECATED("在NX12.0.2中已过时。 不会提供替代方法。") void VersionUpAllDraftingObjects
93 (
94 );
99 public: NX_DEPRECATED("Deprecated in NX12.0.2. No replacement method will be provided.") void VersionUpSelectedDraftingObjects
100 (
101 const std::vector<NXOpen::NXObject *> & draftingObjects
102 );
106 public: NXOpen::Annotations::ImportSymbolBuilder * CreateImportSymbolBuilder
107 (
108 );
112 public: NXOpen::Drawings::MarkAsTemplateBuilder * CreateMarkAsTemplateBuilder
113 (
114 );
118 public: NXOpen::Drawings::SheetZoneReferenceBuilder * CreateSheetZoneReferenceBuilder
119 (
120 );
124 public: NXOpen::Annotations::ImportAutocadBlockBuilder * CreateImportAutocadBlockBuilder
125 (
126 );
131 (
132 );
137 (
138 bool templateInstantiationStatus
139 );
143 public: void AddCutObject
144 (
145 NXOpen::DisplayableObject * object
146 );
153 (
154 );
159 (
160 NXOpen::Part * partOfUnpastedObject
161 );
165 public: bool IsCutObject
166 (
167 NXOpen::DisplayableObject * object
168 );
172 public: NXOpen::Drawings::DrawingsPropertiesBuilder * CreateDrawingsPropertiesBuilder
173 (
174 const std::vector<NXOpen::DisplayableObject *> & objects
175 );
180 (
181 );
186 (
187 );
191 public: void SetDrawingLayout
192 (
193 bool setToDrawingLayout
194 );
196
199 public: int RenewObjects
200 (
201 );
203
206 public: NXOpen::Drawings::SectionLineCollection *SectionLines();
214 public: NXOpen::Drawings::BordersAndZonesCollection *BordersAndZonesObjects();
215 }; //lint !e1712 default constructor not defined for class
216}
217#ifdef _MSC_VER
218#pragma warning(pop)
219#endif
220#ifdef __GNUC__
221#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
222#pragma GCC diagnostic warning "-Wdeprecated-declarations"
223#endif
224#endif
225#undef EXPORTLIBRARY