NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Die_HoleChildBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Die_HoleChildBuilder.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/Die.hxx>
22#include <NXOpen/Features_FeatureBuilder.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_die_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 Die
35 {
36 class HoleChildBuilder;
37 }
38 namespace Features
39 {
40 class FeatureBuilder;
41 }
42 class ILocation;
43 class ISurface;
44 namespace Die
45 {
46 class _HoleChildBuilderBuilder;
47 class HoleChildBuilderImpl;
51 class NXOPENCPP_DIEEXPORT HoleChildBuilder : public NXOpen::Features::FeatureBuilder
52 {
53 private: HoleChildBuilderImpl * m_holechildbuilder_impl;
54 private: friend class _HoleChildBuilderBuilder;
55 protected: HoleChildBuilder();
56 public: ~HoleChildBuilder();
60 public: void SetCenter
61 (
62 NXOpen::ILocation * center
63 );
68 (
69 );
73 public: void TranslateCenter
74 (
75 const NXOpen::Vector3d & translateDist
76 );
80 public: void SetPlane
81 (
82 NXOpen::ISurface * plane
83 );
88 (
89 );
93 public: void SetDiameter
94 (
95 double diameter
96 );
100 public: double Diameter
101 (
102 );
106 public: void SetDepth
107 (
108 double depth
109 );
113 public: double Depth
114 (
115 );
120 (
121 double counterBoreDiameter
122 );
126 public: double CounterBoreDiameter
127 (
128 );
133 (
134 double dropThruDiameter
135 );
139 public: double DropThruDiameter
140 (
141 );
145 public: void SetPadDiameter
146 (
147 double padDiameter
148 );
152 public: double PadDiameter
153 (
154 );
158 public: void SetPadHeight
159 (
160 double padHeight
161 );
165 public: double PadHeight
166 (
167 );
171 public: void SetPlaneOffset
172 (
173 double planeOffset
174 );
178 public: double PlaneOffset
179 (
180 );
184 public: bool CreateWithPad
185 (
186 );
190 public: void SetCreateWithPad
191 (
192 bool createWithPad
193 );
198 public: bool DisplayHoles
199 (
200 );
205 public: void SetDisplayHoles
206 (
207 bool displayHoles
208 );
212 public: void GetHoleAttributes
213 (
214 NXString* title ,
215 NXString* value ,
216 int* color ,
217 NXString* diameterTitle ,
218 NXString* depthTitle ,
219 NXString* counterBoreDiameterTitle
220 );
224 public: void SetHoleAttributes
225 (
226 const NXString & title ,
227 const NXString & value ,
228 int color ,
229 const NXString & diameterTitle ,
230 const NXString & depthTitle ,
231 const NXString & counterBoreDiameterTitle
232 );
237 (
238 const char * title ,
239 const char * value ,
240 int color ,
241 const char * diameterTitle ,
242 const char * depthTitle ,
243 const char * counterBoreDiameterTitle
244 );
248 public: void GetPadAttributes
249 (
250 NXString* title ,
251 NXString* value ,
252 int* color
253 );
257 public: void SetPadAttributes
258 (
259 const NXString & title ,
260 const NXString & value ,
261 int color
262 );
267 (
268 const char * title ,
269 const char * value ,
270 int color
271 );
275 public: void SetDesignStatus
276 (
277 bool designStatus
278 );
282 public: bool DesignStatus
283 (
284 );
289 (
290 );
295 public: void SetDisplayStatus
296 (
297 bool displayStatus
298 );
303 public: bool DisplayStatus
304 (
305 );
306};
307 }
308}
309#ifdef _MSC_VER
310#pragma warning(pop)
311#endif
312#ifdef __GNUC__
313#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
314#pragma GCC diagnostic warning "-Wdeprecated-declarations"
315#endif
316#endif
317#undef EXPORTLIBRARY