NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
RoutingCommon_RoutingManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 管路通用模块API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// RoutingCommon_RoutingManager.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/Routing_AttributeIdentifier.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_routingcommon_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace RoutingCommon
35 {
36 class RoutingManager;
37 }
38 class Session;
39 namespace Assemblies
40 {
41 class Component;
42 }
43 class BasePart;
44 class NXObject;
45 class Part;
46 namespace Routing
47 {
48 class ControlPoint;
49 }
50 namespace Routing
51 {
52 class Port;
53 }
54 namespace RoutingCommon
55 {
56 class BuilderFactory;
57 }
58 namespace RoutingCommon
59 {
61 }
62 namespace RoutingCommon
63 {
64 class OverlapCornerCollection;
65 }
66 namespace RoutingCommon
67 {
68 class RoutingManagerImpl;
73 class NXOPENCPP_ROUTINGCOMMONEXPORT RoutingManager
74 {
82 private: RoutingManagerImpl * m_routingmanager_impl;
83 private: NXOpen::Session* m_owner;
85 public: explicit RoutingManager(NXOpen::Session *owner);
87 public:
89 tag_t Tag() const;
90 private: static RoutingManager* theRoutingManager;
96public: ~RoutingManager();
102 (
103 NXOpen::Part * part
104 );
110 (
111 NXOpen::BasePart * part
112 );
119 (
121 );
127 (
129 );
135 (
137 );
143 (
144 NXOpen::BasePart * part
145 );
151 (
152 NXOpen::BasePart * part
153 );
160 (
161 NXOpen::Part * part ,
162 const NXString & discipline
163 );
170 (
171 NXOpen::Part * part ,
172 const char * discipline
173 );
180 (
181 NXOpen::Part * part ,
182 const NXString & specification
183 );
190 (
191 NXOpen::Part * part ,
192 const char * specification
193 );
198 (
199 NXOpen::Part * part ,
200 NXString* discipline ,
201 NXString* specification
202 );
207 (
208 NXOpen::Part * part ,
209 bool* disciplineSuccess ,
210 bool* specificationSuccess
211 );
216 (
217 NXOpen::Part * part
218 );
223 (
225 );
227
230 public: void ReparentWiringComponents
231 (
232 );
234
238 (
239 NXOpen::Part * part ,
240 const NXString & componentName
241 );
246 (
247 NXOpen::Part * part ,
248 const char * componentName
249 );
253 public: bool LoadData
254 (
255 NXOpen::Part * part
256 );
261 (
262 NXOpen::Part * part ,
263 const NXString & stockPartNumber ,
264 const std::vector<NXOpen::Point3d> & points
265 );
270 (
271 NXOpen::Part * part ,
272 const char * stockPartNumber ,
273 const std::vector<NXOpen::Point3d> & points
274 );
278 public: void ReplacePartOccs
279 (
280 NXOpen::Part * part ,
282 const NXString & attributeId ,
283 const NXString & value ,
284 const std::vector<NXOpen::NXObject *> & objects
285 );
290 (
291 NXOpen::Part * part ,
293 const char * attributeId ,
294 const char * value ,
295 const std::vector<NXOpen::NXObject *> & objects
296 );
298
301 public: void GetPatternAttrsUsingStockPartNumber
302 (
303 NXOpen::Part * part ,
304 const NXString & stockPartNumber ,
305 double* height ,
306 double* width ,
307 double* weight ,
308 double* permissibleWeight
309 );
313 void GetPatternAttrsUsingStockPartNumber
314 (
315 NXOpen::Part * part ,
316 const char * stockPartNumber ,
317 double* height ,
318 double* width ,
319 double* weight ,
320 double* permissibleWeight
321 );
324
327 public: bool GetOutletFittingLocationOnHeaderStockSegment
328 (
330 NXOpen::Point3d* point
331 );
333
344
347 public: NXOpen::RoutingCommon::OverlapCornerCollection *OverlapCornerCollection();
349 }; //lint !e1712 default constructor not defined for class
350 }
351}
352#ifdef _MSC_VER
353#pragma warning(pop)
354#endif
355#ifdef __GNUC__
356#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
357#pragma GCC diagnostic warning "-Wdeprecated-declarations"
358#endif
359#endif
360#undef EXPORTLIBRARY