NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_RoutingPreferences.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_RoutingPreferences.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/TaggedObject.hxx>
22#include <NXOpen/libnxopencpp_preferences_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
32 namespace Preferences
33 {
35 }
36 namespace Preferences
37 {
39 }
40 namespace Preferences
41 {
42 class RoutingPreferencesImpl;
46 class NXOPENCPP_PREFERENCESEXPORT RoutingPreferences
47 {
48 private: RoutingPreferencesImpl * m_routingpreferences_impl;
53 public:
55 tag_t Tag() const;
56 public: ~RoutingPreferences();
60 public: int DisciplineIndex
61 (
62 );
66 public: void SetDisciplineIndex
67 (
68 int disciplineIndex
69 );
74 (
75 );
80 (
81 const NXString & currentDiscipline
82 );
87 (
88 const char * currentDiscipline
89 );
93 public: std::vector<NXString> GetAllAvailableDisciplines
94 (
95 );
99 public: double PortLength
100 (
101 );
105 public: void SetPortLength
106 (
107 double portLength
108 );
113 (
114 );
119 (
120 bool displayConnectedPorts
121 );
126 (
127 );
132 (
133 const NXString & offsetExpressionString
134 );
139 (
140 const char * offsetExpressionString
141 );
146 (
147 );
152 (
153 int stockTranslucency
154 );
159 (
160 );
165 (
166 int insulationTranslucency
167 );
172 (
173 );
178 (
179 int spaceReservationTranslucency
180 );
185 (
186 );
191 (
192 bool applyToExisting
193 );
198 (
199 );
204 (
205 const NXString & stockComponentFolder
206 );
211 (
212 const char * stockComponentFolder
213 );
218 (
219 );
224 (
225 bool usePreferredPortPlacement
226 );
231 public: NX_DEPRECATED("已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SubdivideSegmentForFixturePartPlacementFlag。") bool SubdivideSegmentForFixturePartPlacement
232 (
233 );
238 public: NX_DEPRECATED("已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SetSubdivideSegmentForFixturePartPlacementFlag。") void SetSubdivideSegmentForFixturePartPlacement
239 (
240 bool prefSubdivideSegment
241 );
246 (
247 );
252 (
253 bool applyJumpPathStyle
254 );
258 public: int JumpPathColor
259 (
260 );
264 public: void SetJumpPathColor
265 (
266 int jumpPathColor
267 );
271 public: int JumpPathStyle
272 (
273 );
277 public: void SetJumpPathStyle
278 (
279 int jumpPathStyle
280 );
284 public: int JumpPathWidth
285 (
286 );
290 public: void SetJumpPathWidth
291 (
292 int jumpPathWidth
293 );
294 }; //lint !e1712 类未定义默认构造函数
295 }
296}
297#ifdef _MSC_VER
298#pragma warning(pop)
299#endif
300#ifdef __GNUC__
301#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
302#pragma GCC diagnostic warning "-Wdeprecated-declarations"
303#endif
304#endif
305#undef EXPORTLIBRARY