NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_AlignBodyBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_AlignBodyBuilder.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/Expression.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/libnxopencpp_mechatronics_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
32
namespace
NXOpen
33
{
34
namespace
Mechatronics
35
{
36
class
AlignBodyBuilder
;
37
}
38
class
Builder
;
39
class
CoordinateSystem
;
40
class
Expression
;
41
namespace
Mechatronics
42
{
43
class
SelectRigidBody
;
44
}
45
class
NXObject
;
46
class
Point
;
47
namespace
Mechatronics
48
{
49
class
_AlignBodyBuilderBuilder;
50
class
AlignBodyBuilderImpl;
55
class
NXOPENCPP_MECHATRONICSEXPORT AlignBodyBuilder :
public
NXOpen::Builder
56
{
59
public
:
enum
RoleType
60
{
61
RoleTypeSource
,
62
RoleTypeTarget
63
};
64
private
:
AlignBodyBuilderImpl
* m_alignbodybuilder_impl;
65
private
:
friend
class
_AlignBodyBuilderBuilder;
66
protected
:
AlignBodyBuilder
();
67
public
:
~AlignBodyBuilder
();
71
public
:
NXOpen::Mechatronics::SelectRigidBody
*
AttachBody
72
(
73
);
77
public
:
void
SetAttachbody
78
(
79
NXOpen::NXObject
* rigid
80
);
84
public
:
NXOpen::Point
*
AttachPoint
85
(
86
);
90
public
:
void
SetAttachPoint
91
(
92
NXOpen::Point
* attachPoint
93
);
97
public
:
NXOpen::CoordinateSystem
*
Orientation
98
(
99
);
103
public
:
void
SetOrientation
104
(
105
NXOpen::CoordinateSystem
* orientation
106
);
110
public
:
NXOpen::Expression
*
Proximity
111
(
112
);
116
public
:
NXOpen::Mechatronics::AlignBodyBuilder::RoleType
SnapRole
117
(
118
);
122
public
:
void
SetSnapRole
123
(
124
NXOpen::Mechatronics::AlignBodyBuilder::RoleType
roleType
125
);
129
public
:
int
Category
130
(
131
);
135
public
:
void
SetCategory
136
(
137
int
category
138
);
142
public
:
NXString
JunctionName
143
(
144
);
148
public
:
void
SetJunctionName
149
(
150
const
NXString
& junction
151
);
155
void
SetJunctionName
156
(
157
const
char
* junction
158
);
162
public
:
NXString
Name
163
(
164
);
168
public
:
void
SetName
169
(
170
const
NXString
& name
171
);
175
void
SetName
176
(
177
const
char
* name
178
);
182
public
:
bool
EnableBond
183
(
184
);
188
public
:
void
SetEnableBond
189
(
190
bool
enable
191
);
192
};
193
}
194
}
195
#ifdef _MSC_VER
196
#pragma warning(pop)
197
#endif
198
#ifdef __GNUC__
199
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
200
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
201
#endif
202
#endif
203
#undef EXPORTLIBRARY