NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
NestingPart.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件 - JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// NestingPart.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/TransientObject.hxx>
22
#include <NXOpen/libnxopencpp_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
30
namespace
NXOpen
31
{
32
class
NestingPart
;
33
class
NestingPartImpl;
37
class
NXOPENCPPEXPORT
NestingPart
:
public
NXOpen::TransientObject
38
{
40
public
:
enum
Rotations
41
{
42
RotationsFree
,
43
RotationsNone
,
44
RotationsDegrees90
,
45
RotationsDegrees180
46
};
47
48
public
:
enum
Priorities
49
{
50
PrioritiesLowest
,
51
PrioritiesLow
,
52
PrioritiesNormal
,
53
PrioritiesHigh
,
54
PrioritiesHighest
55
};
56
57
public
:
enum
Formats
58
{
59
FormatsPrt
,
60
FormatsDxf
61
};
62
private
:
NestingPartImpl
* m_nestingpart_impl;
64
public
:
explicit
NestingPart
(
void
*ptr);
66
69
public
:
virtual
~NestingPart
();
73
public
:
NXString
Name
74
(
75
);
79
public
:
NXOpen::NestingPart::Formats
Format
80
(
81
);
85
public
:
NXString
Material
86
(
87
);
91
public
:
double
Thickness
92
(
93
);
97
public
:
int
Quantity
98
(
99
);
103
public
:
void
SetQuantity
104
(
105
int
partQuantity
106
);
110
public
:
NXOpen::NestingPart::Rotations
Rotation
111
(
112
);
116
public
:
void
SetRotation
117
(
118
NXOpen::NestingPart::Rotations
rotation
119
);
123
public
:
double
RotationTolerance
124
(
125
);
129
public
:
void
SetRotationTolerance
130
(
131
double
rotationTolerance
132
);
136
public
:
bool
AllowMirror
137
(
138
);
142
public
:
void
SetAllowMirror
143
(
144
bool
allowMirror
145
);
149
public
:
NXOpen::NestingPart::Priorities
Priority
150
(
151
);
155
public
:
void
SetPriority
156
(
157
NXOpen::NestingPart::Priorities
priority
158
);
162
public
:
bool
IsValid
163
(
164
);
168
public
:
bool
Include
169
(
170
);
174
public
:
void
SetInclude
175
(
176
bool
include
177
);
181
public
:
double
RotationOffset
182
(
183
);
187
public
:
void
SetRotationOffset
188
(
189
double
rotationOffset
190
);
194
public
:
double
Clearance
195
(
196
);
200
public
:
void
SetClearance
201
(
202
double
clearance
203
);
204
};
//lint !e1712 default constructor not defined for class
205
}
206
#ifdef _MSC_VER
207
#pragma warning(pop)
208
#endif
209
#ifdef __GNUC__
210
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
211
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
212
#endif
213
#endif
214
#undef EXPORTLIBRARY