NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Tooling_SpecifyCircuitBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// Header for C++ interface to JA API
5//--------------------------------------------------------------------------
6//
7// Source File:
8// Tooling_SpecifyCircuitBuilder.ja
9//
10// Generated by:
11// apiwrap
12//
13// WARNING:
14// This file is automatically generated - do not edit by hand
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/Builder.hxx>
22#include <NXOpen/SelectObject.hxx>
23#include <NXOpen/SelectObjectList.hxx>
24#include <NXOpen/Tooling_CoolingFittingData.hxx>
25#include <NXOpen/Tooling_SpreadsheetData.hxx>
26#include <NXOpen/ugmath.hxx>
27#include <NXOpen/libnxopencpp_tooling_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 Tooling
38 {
40 }
41 namespace Assemblies
42 {
43 class Component;
44 }
45 class Body;
46 class Builder;
47 class NXColor;
48 class NXObject;
49 class Point;
50 class SelectBody;
51 class SelectBodyList;
52 class SelectNXObject;
53 namespace Tooling
54 {
56 }
57 namespace Tooling
58 {
59 class SpreadsheetData;
60 }
61 namespace Tooling
62 {
63 class _SpecifyCircuitBuilderBuilder;
64 class SpecifyCircuitBuilderImpl;
89 class NXOPENCPP_TOOLINGEXPORT SpecifyCircuitBuilder : public NXOpen::Builder
90 {
91 private: SpecifyCircuitBuilderImpl * m_specifycircuitbuilder_impl;
92 private: friend class _SpecifyCircuitBuilderBuilder;
93 protected: SpecifyCircuitBuilder();
94public: ~SpecifyCircuitBuilder();
99 (
100 );
105 (
106 );
111 (
112 );
116 public: void CheckStatus
117 (
118 );
122 public: bool KeepCircuit
123 (
124 );
128 public: void SetKeepCircuit
129 (
130 bool keepCircuit
131 );
135 public: bool CreateFittings
136 (
137 );
141 public: void SetCreateFittings
142 (
143 bool createFittings
144 );
148 public: bool UseSymbol
149 (
150 );
154 public: void SetUseSymbol
155 (
156 bool useSymbol
157 );
162 (
163 );
167 public: void SetCircuitColor
168 (
169 NXOpen::NXColor * circuitColor
170 );
175 (
176 );
180 public: void SetChannelColor
181 (
182 NXOpen::NXColor * channelColor
183 );
187 public: int Layer
188 (
189 );
193 public: void SetLayer
194 (
195 int layer
196 );
200 public: std::vector<double> GetCircuitColor
201 (
202 );
206 public: void SetCircuitColor
207 (
208 const std::vector<double> & circuitColor
209 );
213 public: void GetOneCircuit
214 (
215 const std::vector<NXOpen::Body *> & channels
216 );
221 (
222 );
227 (
228 );
233 (
234 );
239 (
240 NXOpen::Point * aFittingPoint
241 );
246 (
247 NXOpen::Point * aFittingPoint
248 );
255 (
256 );
261 (
262 int arrowList
263 );
268 (
269 NXOpen::Body * selectedChannel ,
270 const NXOpen::Point3d & arrowList
271 );
275 public: void CreateStartArrow
276 (
277 int nodeId ,
278 double radius ,
279 const NXOpen::Point3d & closestPoint ,
280 const NXOpen::Vector3d & faceVec
281 );
286 (
287 int nodeIndex ,
288 bool isUpdate
289 );
294 (
295 int nodeIndex ,
296 int nodeColor
297 );
301 public: void SetChannelType
302 (
303 const NXString & channelType
304 );
309 (
310 const char * channelType
311 );
316 (
317 int nodeIndex ,
318 NXOpen::Point * aPoint
319 );
324 (
325 const std::vector<NXOpen::Point *> & fittingPts ,
326 std::vector<NXString> & channelDiameters ,
327 std::vector<NXString> & currentNames ,
328 std::vector<NXString> & currentTypes ,
329 std::vector<NXString> & currentFitTypes ,
330 std::vector<NXString> & baffleLengths ,
331 const std::vector<bool> & fittingPointModified ,
332 std::vector<NXString> & partNumbersTc
333 );
337 public: void SetCircuitSelNode
338 (
339 int circuitSelNode
340 );
345 (
346 bool removeArrowAtIntersect ,
347 bool removeStartArrow ,
348 bool removeCreateBody ,
349 bool removeFittingPoint ,
350 bool emptyStartStructure ,
351 bool doUpdate
352 );
357 (
358 int nodeIndex
359 );
364 (
365 int nodeIndex ,
366 const NXString & nodeName
367 );
372 (
373 int nodeIndex ,
374 const char * nodeName
375 );
379 public: void RemoveLabel
380 (
381 int nodeIndex ,
382 NXOpen::NXObject * labelTag
383 );
388 (
389 );
394 (
395 bool searchBoundaryBodies
396 );
401 (
402 );
407 (
408 int nodeIndex ,
409 NXOpen::NXObject * arrowTag
410 );
415 (
416 int nodeIndex
417 );
421 public: void BlankArrows
422 (
423 int nodeIndex ,
424 bool isBlank
425 );
430 (
431 int nodeIndex
432 );
437 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use RemoveTemporaryData instead.") void RemoveAttributesAndTemporaryData
438 (
439 const std::vector<NXOpen::NXObject *> & nodeTag
440 );
445 (
446 );
451 (
452 NXOpen::Body * attachedChannel
453 );
458 (
459 NXOpen::Point * deleteFitPoint
460 );
464 public: void RedisplayArrow
465 (
466 int circuitNode
467 );
471 public: void SetBlindEnd
472 (
473 bool isBlind
474 );
479 (
480 const std::vector<int> & nodeIds
481 );
485 public: void AddInstance
486 (
487 NXOpen::Assemblies::Component * coolingPart ,
488 NXOpen::Point * fittingPoint
489 );
493 public: void SetAllBodies
494 (
495 const std::vector<NXOpen::Body *> & bodies
496 );
501 (
502 );
507 (
508 NXOpen::Point * point ,
509 NXOpen::Tooling::SpreadsheetData * templateData
510 );
515 (
516 NXOpen::Point * point
517 );
518 };
519 }
520}
521#ifdef _MSC_VER
522#pragma warning(pop)
523#endif
524#ifdef __GNUC__
525#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
526#pragma GCC diagnostic warning "-Wdeprecated-declarations"
527#endif
528#endif
529#undef EXPORTLIBRARY