NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Schematic_SchematicManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Schematic_SchematicManager.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/Diagramming_Node.hxx>
22#include <NXOpen/Schematic_BulkEditBuilder.hxx>
23#include <NXOpen/Schematic_Connection.hxx>
24#include <NXOpen/Schematic_ConnectionBuilder.hxx>
25#include <NXOpen/Schematic_DerivedSheetBuilder.hxx>
26#include <NXOpen/Schematic_DesignValidationBuilder.hxx>
27#include <NXOpen/Schematic_FlowDirectionArrowBuilder.hxx>
28#include <NXOpen/Schematic_Mechanical_Branch.hxx>
29#include <NXOpen/Schematic_Mechanical_Run.hxx>
30#include <NXOpen/Schematic_Node.hxx>
31#include <NXOpen/Schematic_NodeBuilder.hxx>
32#include <NXOpen/Schematic_ObjectTable.hxx>
33#include <NXOpen/Schematic_ObjectTableBuilder.hxx>
34#include <NXOpen/Schematic_OffSheetConnector.hxx>
35#include <NXOpen/Schematic_OffSheetConnectorBuilder.hxx>
36#include <NXOpen/Schematic_Port.hxx>
37#include <NXOpen/Schematic_PortBuilder.hxx>
38#include <NXOpen/Schematic_PreferencesBuilder.hxx>
39#include <NXOpen/Schematic_Sheet.hxx>
40#include <NXOpen/Schematic_StockBuilder.hxx>
41#include <NXOpen/TaggedObject.hxx>
42#include <NXOpen/libnxopencpp_schematic_exports.hxx>
43#ifdef _MSC_VER
44#pragma warning(push)
45#pragma warning(disable:4996)
46#endif
47#ifdef __GNUC__
48#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
49#endif
50namespace NXOpen
51{
52 namespace Schematic
53 {
54 class SchematicManager;
55 }
56 class Part;
57 namespace Diagramming
58 {
59 class Node;
60 }
61 class NXObject;
62 namespace Schematic
63 {
64 class BulkEditBuilder;
65 }
66 namespace Schematic
67 {
68 class Connection;
69 }
70 namespace Schematic
71 {
73 }
74 namespace Schematic
75 {
77 }
78 namespace Schematic
79 {
80 class DerivedSheetBuilder;
81 }
82 namespace Schematic
83 {
85 }
86 namespace Schematic
87 {
89 }
90 namespace Schematic
91 {
92 namespace Mechanical
93 {
94 class Branch;
95 }
96 }
97 namespace Schematic
98 {
99 namespace Mechanical
100 {
101 class Run;
102 }
103}
104 namespace Schematic
105 {
106 namespace Mechanical
107 {
108 class RunsManager;
109 }
110 }
111 namespace Schematic
112 {
113 class Node;
114 }
115 namespace Schematic
116 {
117 class NodeBuilder;
118 }
119 namespace Schematic
120 {
121 class NodeCollection;
122 }
123 namespace Schematic
124 {
125 class ObjectTable;
126 }
127 namespace Schematic
128 {
129 class ObjectTableBuilder;
130 }
131 namespace Schematic
132 {
133 class OffSheetConnector;
134 }
135 namespace Schematic
136 {
138 }
139 namespace Schematic
140 {
142 }
143 namespace Schematic
144 {
145 class Port;
146 }
147 namespace Schematic
148 {
149 class PortBuilder;
150 }
151 namespace Schematic
152 {
153 class PortCollection;
154 }
155 namespace Schematic
156 {
157 class PreferencesBuilder;
158 }
159 namespace Schematic
160 {
161 class Sheet;
162 }
163 namespace Schematic
164 {
165 class SheetCollection;
166 }
167 namespace Schematic
168 {
169 class StockBuilder;
170 }
171 namespace Schematic
172 {
173 class SchematicManagerImpl;
177 class NXOPENCPP_SCHEMATICEXPORT SchematicManager
178 {
179 private: SchematicManagerImpl * m_schematicmanager_impl;
180 private: NXOpen::Part* m_owner;
182 public: explicit SchematicManager(NXOpen::Part *owner);
184 public:
186 tag_t Tag() const;
187 public: ~SchematicManager();
192 (
193 );
198 (
200 );
205 (
207 );
212 (
214 );
219 (
220 );
225 (
226 );
231 (
233 );
235
238 public: NXOpen::Schematic::PortBuilder * CreatePortBuilder
239 (
241 );
243
247 (
249 );
254 (
256 NXOpen::Schematic::Mechanical::Run * destinationRun ,
258 );
263 (
266 );
271 (
274 );
279 (
281 );
285 public: std::vector<NXOpen::NXObject *> CopySchematicObjects
286 (
287 const std::vector<NXOpen::NXObject *> & inputObjects ,
288 bool isDeepCopy
289 );
294 (
295 );
299 public: void ExportRunNative
300 (
301 const std::vector<NXOpen::NXObject *> & runTags ,
302 const NXString & destination
303 );
308 (
309 const std::vector<NXOpen::NXObject *> & runTags ,
310 const char * destination
311 );
316 (
317 const std::vector<NXOpen::NXObject *> & runTags ,
318 const std::vector<NXString> & fileNames ,
319 const NXString & destination
320 );
325 (
326 const std::vector<NXOpen::NXObject *> & runTags ,
327 const std::vector<NXString> & fileNames ,
328 const char * destination
329 );
331
334 public: NXOpen::Schematic::DerivedSheetBuilder * CreateDerivedSheetBuilder
335 (
336 );
338
342 (
344 bool isTerminating
345 );
359
362 public: NXOpen::Schematic::PortCollection *Ports();
364
372 }; //lint !e1712 default constructor not defined for class
373 }
374}
375#ifdef _MSC_VER
376#pragma warning(pop)
377#endif
378#ifdef __GNUC__
379#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
380#pragma GCC diagnostic warning "-Wdeprecated-declarations"
381#endif
382#endif
383#undef EXPORTLIBRARY