NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Schematic_ConnectionBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA接口的C++头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Schematic_ConnectionBuilder.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_Connection.hxx>
22#include <NXOpen/Diagramming_ConnectionBuilder.hxx>
23#include <NXOpen/Schematic_BaseObjectBuilder.hxx>
24#include <NXOpen/Schematic_Connection.hxx>
25#include <NXOpen/Schematic_ConnectionDataBuilder.hxx>
26#include <NXOpen/Schematic_DataType.hxx>
27#include <NXOpen/Schematic_Node.hxx>
28#include <NXOpen/Schematic_NodeBuilder.hxx>
29#include <NXOpen/Schematic_Port.hxx>
30#include <NXOpen/ugmath.hxx>
31#include <NXOpen/libnxopencpp_schematic_exports.hxx>
32#ifdef _MSC_VER
33#pragma warning(push)
34#pragma warning(disable:4996)
35#endif
36#ifdef __GNUC__
37#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
38#endif
39namespace NXOpen
40{
41 namespace Schematic
42 {
44 }
45 namespace Diagramming
46 {
47 class Connection;
48 }
49 namespace Schematic
50 {
52 }
53 namespace Schematic
54 {
55 class Connection;
56 }
57 namespace Schematic
58 {
60 }
61 namespace Schematic
62 {
63 class Node;
64 }
65 namespace Schematic
66 {
67 class NodeBuilder;
68 }
69 namespace Schematic
70 {
71 class Port;
72 }
73 namespace Schematic
74 {
75 class _ConnectionBuilderBuilder;
76 class ConnectionBuilderImpl;
96 class NXOPENCPP_SCHEMATICEXPORT ConnectionBuilder : public NXOpen::Schematic::BaseObjectBuilder
97 {
98 private: ConnectionBuilderImpl * m_connectionbuilder_impl;
99 private: friend class _ConnectionBuilderBuilder;
100 protected: ConnectionBuilder();
101public: ~ConnectionBuilder();
106 (
107 );
111 public: void SetLineType
112 (
113 const NXString & lineType
114 );
119 (
120 const char * lineType
121 );
125 public: void GetBendPoints
126 (
127 std::vector<NXOpen::Point2d> & points
128 );
132 public: void SetBendPoints
133 (
134 const std::vector<NXOpen::Point2d> & points
135 );
140 (
141 );
146 (
147 );
151 public: void SetElementId
152 (
153 const NXString & elementId
154 );
159 (
160 const char * elementId
161 );
167 (
168 );
173 public: void SetStartLocation
174 (
175 const NXOpen::Point2d & startLocation
176 );
182 (
183 );
188 public: void SetEndLocation
189 (
190 const NXOpen::Point2d & endLocation
191 );
196 (
197 );
201 public: void SetStart
202 (
204 );
209 (
210 );
214 public: void SetEnd
215 (
217 );
223 (
224 );
230 public: void SetStartNode
231 (
233 double percentX ,
234 double percentY ,
235 double offsetX ,
236 double offsetY ,
237 double connectionDirectionX ,
238 double connectionDirectionY ,
240 );
246 (
247 );
253 public: void SetEndNode
254 (
256 double percentX ,
257 double percentY ,
258 double offsetX ,
259 double offsetY ,
260 double connectionDirectionX ,
261 double connectionDirectionY ,
263 );
268 (
269 NXOpen::Schematic::Connection ** connection ,
270 int* segmentId ,
271 double* percent
272 );
277 (
278 NXOpen::Schematic::Connection * connection ,
279 int segmentId ,
280 double percent
281 );
285 public: void GetTeeEndLocation
286 (
287 NXOpen::Schematic::Connection ** connection ,
288 int* segmentId ,
289 double* percent
290 );
294 public: void SetTeeEndLocation
295 (
296 NXOpen::Schematic::Connection * connection ,
297 int segmentId ,
298 double percent
299 );
301
305 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXString GetStartTeeSymbolId
306 (
307 );
310
314 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") void SetStartTeeSymbolId
315 (
316 const NXString & symbolId
317 );
322 void SetStartTeeSymbolId
323 (
324 const char * symbolId
325 );
328
332 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") NXString GetEndTeeSymbolId
333 (
334 );
337
341 public: NX_DEPRECATED("Deprecated in NX2312.0.0. This functionality is no longer supported.") void SetEndTeeSymbolId
342 (
343 const NXString & symbolId
344 );
349 void SetEndTeeSymbolId
350 (
351 const char * symbolId
352 );
354
358 (
359 NXOpen::Schematic::Node * node
360 );
365 (
366 NXOpen::Schematic::Node * node
367 );
372 (
373 );
378 (
379 );
381
384 public: bool EnableInstrumentation
385 (
386 );
389
392 public: void SetEnableInstrumentation
393 (
394 bool enableInstrumentation
395 );
397
401 (
402 );
407 (
408 );
413 (
414 );
418 public: NXOpen::Diagramming::ConnectionBuilder::ShapeOption GetShapeType
419 (
420 );
424 public: void SetShapeType
425 (
426 NXOpen::Diagramming::ConnectionBuilder::ShapeOption shapeType
427 );
428 };
429 }
430}
431#ifdef _MSC_VER
432#pragma warning(pop)
433#endif
434#ifdef __GNUC__
435#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
436#pragma GCC diagnostic warning "-Wdeprecated-declarations"
437#endif
438#endif
439#undef EXPORTLIBRARY