NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Positioning_ComponentConstraint.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Positioning_ComponentConstraint.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/Positioning_Constraint.hxx>
22
#include <NXOpen/libnxopencpp_positioning_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
namespace
Positioning
33
{
34
class
ComponentConstraint
;
35
}
36
namespace
Assemblies
37
{
38
class
Arrangement
;
39
}
40
namespace
Assemblies
41
{
42
class
Component
;
43
}
44
namespace
Positioning
45
{
46
class
Constraint
;
47
}
48
namespace
Positioning
49
{
50
class
_ComponentConstraintBuilder;
51
class
ComponentConstraintImpl;
56
class
NXOPENCPP_POSITIONINGEXPORT ComponentConstraint :
public
NXOpen::Positioning::Constraint
57
{
60
public
:
enum
DirectionToFixed
61
{
62
DirectionToFixedUnknown
= -1,
63
DirectionToFixedToward
,
64
DirectionToFixedAwayFrom
,
65
DirectionToFixedNothingFixed
,
66
DirectionToFixedFix
,
67
DirectionToFixedSuppressed
,
68
DirectionToFixedIgnoredInArrangement
69
};
70
private
:
ComponentConstraintImpl
* m_componentconstraint_impl;
71
private
:
friend
class
_ComponentConstraintBuilder;
72
protected
:
ComponentConstraint
();
73
public
:
~ComponentConstraint
();
79
public
:
void
RememberOnComponent
80
(
81
NXOpen::Assemblies::Component
* component
82
);
89
public
:
bool
ArrangementSpecific
90
(
91
);
95
public
:
void
SetArrangementSpecific
96
(
97
bool
arrangementSpecific
98
);
104
public
:
bool
GetSpecificInArrangement
105
(
106
NXOpen::Assemblies::Arrangement
* arrangement
107
);
112
public
:
void
SetSpecificInArrangement
113
(
114
NXOpen::Assemblies::Arrangement
* arrangement ,
115
bool
arrangementSpecific
116
);
122
public
:
bool
GetSuppressedInArrangement
123
(
124
NXOpen::Assemblies::Arrangement
* arrangement
125
);
130
public
:
void
SetSuppressedInArrangement
131
(
132
NXOpen::Assemblies::Arrangement
* arrangement ,
133
bool
suppressed
134
);
140
public
:
bool
GetSharedSuppressed
141
(
142
);
147
public
:
void
SetSharedSuppressed
148
(
149
bool
suppressed
150
);
156
public
:
bool
GetInherited
157
(
158
);
165
public
:
NXOpen::Positioning::ComponentConstraint::DirectionToFixed
GetDirectionToFixed
166
(
167
NXOpen::Assemblies::Component
* component ,
168
NXOpen::Assemblies::Arrangement
* arrangement
169
);
176
public
:
NX_DEPRECATED
(
"Deprecated in NX1847.0.0. Use ComponentConstraint::CopyInheritedToOverride instead."
) void CopyToOverride
177
(
178
);
185
public:
NXOpen
::
Positioning
::ComponentConstraint *
CopyInheritedToOverride
186
(
187
);
194
public:
bool
GetSeparateSuppression
195
(
196
);
202
public:
void
SetSeparateSuppression
203
(
204
bool
separateSuppression
205
);
206
};
207
}
208
}
209
#ifdef _MSC_VER
210
#pragma warning(pop)
211
#endif
212
#ifdef __GNUC__
213
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
214
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
215
#endif
216
#endif
217
#undef EXPORTLIBRARY