NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_MotionEnvironment.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_MotionEnvironment.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_motion_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
Motion
33
{
34
class
MotionEnvironment
;
35
}
36
namespace
Motion
37
{
38
class
MotionSession
;
39
}
40
namespace
Motion
41
{
42
class
MotionEnvironmentImpl;
46
class
NXOPENCPP_MOTIONEXPORT
MotionEnvironment
47
{
49
public
:
enum
Analysis
50
{
51
AnalysisNoType
,
52
AnalysisKinematics
,
53
AnalysisDynamics
54
};
55
56
public
:
enum
Solver
57
{
58
SolverNone
= -1,
59
SolverRecurdyn
,
60
SolverAdams
,
61
SolverSimcenter
,
62
SolverScDesigner
63
};
64
65
public
:
enum
JointWizardStatus
66
{
67
JointWizardStatusUndefined
= -1,
68
JointWizardStatusOff
,
69
JointWizardStatusOn
70
};
71
private
:
MotionEnvironmentImpl
* m_motionenvironment_impl;
72
private
:
NXOpen::Motion::MotionSession
* m_owner;
74
public
:
explicit
MotionEnvironment
(
NXOpen::Motion::MotionSession
*owner);
76
public
:
78
tag_t
Tag
()
const
;
79
public
:
~MotionEnvironment
();
83
public
:
void
SetAnalysisType
84
(
85
NXOpen::Motion::MotionEnvironment::Analysis
analysisType
86
);
90
public
:
void
SetJointWizardStatus
91
(
92
NXOpen::Motion::MotionEnvironment::JointWizardStatus
setting
93
);
97
public
:
NXOpen::Motion::MotionEnvironment::JointWizardStatus
GetJointWizardStatus
98
(
99
);
103
public
:
void
CheckMotorLicense
104
(
105
bool
checkMotorLicense
106
);
110
public
:
void
CheckCosimLicense
111
(
112
bool
checkCosimLicense
113
);
117
public
:
void
CheckFlexbodyLicense
118
(
119
bool
checkFlexbodyLicense
120
);
124
public
:
void
SetComponentBasedMechanism
125
(
126
bool
componentBasedMech
127
);
131
public
:
void
SetSolver
132
(
133
NXOpen::Motion::MotionEnvironment::Solver
solver
134
);
138
public
:
NXOpen::Motion::MotionEnvironment::Solver
GetSolver
139
(
140
);
141
};
//lint !e1712 default constructor not defined for class
142
}
143
}
144
#ifdef _MSC_VER
145
#pragma warning(pop)
146
#endif
147
#ifdef __GNUC__
148
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
149
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
150
#endif
151
#endif
152
#undef EXPORTLIBRARY