NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_MotionSolutionBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_MotionSolutionBuilder.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/Motion_AdamsSolverProperty.hxx>
23
#include <NXOpen/Motion_RecurdynSolverProperty.hxx>
24
#include <NXOpen/Motion_EntityPropTableBuilder.hxx>
25
#include <NXOpen/libnxopencpp_motion_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Motion
36
{
37
class
MotionSolutionBuilder
;
38
}
39
class
Direction
;
40
class
Expression
;
41
namespace
Motion
42
{
43
class
AdamsSolverProperty
;
44
}
45
namespace
Motion
46
{
47
class
EntityPropTableBuilder
;
48
}
49
namespace
Motion
50
{
51
class
RecurdynSolverProperty
;
52
}
53
namespace
Motion
54
{
55
class
_MotionSolutionBuilderBuilder;
56
class
MotionSolutionBuilderImpl;
62
class
NXOPENCPP_MOTIONEXPORT MotionSolutionBuilder :
public
NXOpen::Motion::EntityPropTableBuilder
63
{
65
public
:
enum
SolutionTypes
66
{
67
SolutionTypesNormal
,
68
SolutionTypesArticulation
,
69
SolutionTypesSpreadsheet
,
70
SolutionTypesFlexbody
71
};
72
74
public
:
enum
AnalysisTypes
75
{
76
AnalysisTypesDynamic
,
77
AnalysisTypesStatic
,
78
AnalysisTypesControl
79
};
80
81
public
:
enum
Objective
82
{
83
ObjectiveIntegratedSolve
,
84
ObjectiveExportToExternalPlatform
85
};
86
87
public
:
enum
Platform
88
{
89
PlatformAmesim
,
90
PlatformSimulink
,
91
PlatformFmi
,
92
PlatformProcyon
,
93
PlatformConcurrent
,
94
PlatformDspace
,
95
PlatformScalexio
96
};
97
98
public
:
enum
WorkingDirectoryType
99
{
100
WorkingDirectoryTypeSimFolder
,
101
WorkingDirectoryTypeUserDefined
102
};
103
104
public
:
enum
GravityOption
105
{
106
GravityOptionNoGravity
,
107
GravityOptionEarthGravity
,
108
GravityOptionUserDefinedComponent
,
109
GravityOptionUserDefinedVector
110
};
111
112
public
:
enum
GravityValueOption
113
{
114
GravityValueOptionExpression
,
115
GravityValueOptionProfile2d
116
};
117
118
public
:
enum
StepTypeOption
119
{
120
StepTypeOptionNumSteps
,
121
StepTypeOptionStepSize
,
122
StepTypeOptionPrintIntervalCurve
,
123
StepTypeOptionSpeedSweepDriver
124
};
125
126
public
:
enum
UnitLength
127
{
128
UnitLengthMillimeter
,
129
UnitLengthCentimeter
,
130
UnitLengthMeter
,
131
UnitLengthInch
,
132
UnitLengthFoot
,
133
UnitLengthMicrometer
134
};
135
136
public
:
enum
UnitMass
137
{
138
UnitMassGram
,
139
UnitMassKilogram
,
140
UnitMassMetricTonne
,
141
UnitMassSlinch
,
142
UnitMassSlug
,
143
UnitMassMilligram
144
};
145
146
public
:
enum
UnitForce
147
{
148
UnitForceMicronewton
,
149
UnitForceNewton
,
150
UnitForceKilogramForce
,
151
UnitForcePound
,
152
UnitForceDyne
153
};
154
155
public
:
enum
OutputType
156
{
157
OutputTypeBinary
,
158
OutputTypeAscii
,
159
OutputTypeAsciiAndBinary
,
160
OutputTypeRestartAndBinary
,
161
OutputTypeRestartAndAscii
,
162
OutputTypeRestart
,
163
OutputTypeAll
,
164
OutputTypeNone
,
165
OutputTypeBinaryAfterRun
166
};
167
168
public
:
enum
PrintMethod
169
{
170
PrintMethodActual
,
171
PrintMethodInterpolated
172
};
173
174
public
:
enum
KinematicMethod
175
{
176
KinematicMethodSingleStep
,
177
KinematicMethodMultiStep
178
};
179
180
public
:
enum
InverseDynamicMethod
181
{
182
InverseDynamicMethodSingleStep
,
183
InverseDynamicMethodMultiStep
184
};
185
186
public
:
enum
AssemblingMethod
187
{
188
AssemblingMethodOneStage
,
189
AssemblingMethodTwoStages
190
};
191
192
public
:
enum
RedundancyCheck
193
{
194
RedundancyCheckYes
,
195
RedundancyCheckNo
,
196
RedundancyCheckFullPivoting
197
};
198
199
public
:
enum
RedundantConstraintCheck
200
{
201
RedundantConstraintCheckEveryTimeStep
,
202
RedundantConstraintCheckBeginningOfSimulation
203
};
204
205
public
:
enum
MatrixScaling
206
{
207
MatrixScalingStandard
,
208
MatrixScalingIterative
209
};
210
211
public
:
enum
StaticSolverType
212
{
213
StaticSolverTypeHarwell
,
214
StaticSolverTypeQrFull
215
};
216
217
public
:
enum
StaticJacobianType
218
{
219
StaticJacobianTypeFinite
,
220
StaticJacobianTypeExact
221
};
222
223
public
:
enum
DynamicIntegrationMethod
224
{
225
DynamicIntegrationMethodBdf
,
226
DynamicIntegrationMethodPece
,
227
DynamicIntegrationMethodRbdf
228
};
229
230
public
:
enum
DynamicSimulationType
231
{
232
DynamicSimulationTypeCoSimulation
,
233
DynamicSimulationTypeModelExchange
234
};
235
236
public
:
enum
DynamicSolverAcceleration
237
{
238
DynamicSolverAccelerationBanded
,
239
DynamicSolverAccelerationHarwell
,
240
DynamicSolverAccelerationIterative
241
};
242
243
public
:
enum
DynamicInitialVelocityMethod
244
{
245
DynamicInitialVelocityMethodQr
,
246
DynamicInitialVelocityMethodMoorePenrosePseudoInverse
,
247
DynamicInitialVelocityMethodMinimumKineticEnergy
248
};
249
250
public
:
enum
ConstraintsOptimizationExcludeType
251
{
252
ConstraintsOptimizationExcludeTypeNone
,
253
ConstraintsOptimizationExcludeTypeSelect
254
};
255
256
public
:
enum
TimeSeriesFileNameFormat
257
{
258
TimeSeriesFileNameFormatOutputName
,
259
TimeSeriesFileNameFormatResultOutputName
260
};
261
262
public
:
enum
VehicleRoadHeightAdjustment
263
{
264
VehicleRoadHeightAdjustmentNone
,
265
VehicleRoadHeightAdjustmentRoad
,
266
VehicleRoadHeightAdjustmentVehicle
267
};
268
269
public
:
enum
RealTimeSystemType
270
{
271
RealTimeSystemTypeWindows
,
272
RealTimeSystemTypeLinux
273
};
274
275
public
:
enum
StaticSuspensionType
276
{
277
StaticSuspensionTypeDependent
,
278
StaticSuspensionTypeIndependent
279
};
280
281
public
:
enum
MotionSolverType
282
{
283
MotionSolverTypeClassic
,
284
MotionSolverTypeNextGeneration
285
};
286
private
:
MotionSolutionBuilderImpl
* m_motionsolutionbuilder_impl;
287
private
:
friend
class
_MotionSolutionBuilderBuilder;
288
protected
:
MotionSolutionBuilder
();
289
public
:
~MotionSolutionBuilder
();
293
public
:
NXOpen::Motion::MotionSolutionBuilder::SolutionTypes
SolutionType
294
(
295
);
299
public
:
void
SetSolutionType
300
(
301
NXOpen::Motion::MotionSolutionBuilder::SolutionTypes
solutionType
302
);
306
public
:
NXOpen::Motion::MotionSolutionBuilder::AnalysisTypes
AnalysisType
307
(
308
);
312
public
:
void
SetAnalysisType
313
(
314
NXOpen::Motion::MotionSolutionBuilder::AnalysisTypes
analysisType
315
);
319
public
:
int
Step
320
(
321
);
325
public
:
void
SetStep
326
(
327
int
step
328
);
332
public
:
bool
StaticAnalysis
333
(
334
);
338
public
:
void
SetStaticAnalysis
339
(
340
bool
staticAnalysis
341
);
345
public
:
NXOpen::Direction
*
GravityVector
346
(
347
);
351
public
:
void
SetGravityVector
352
(
353
NXOpen::Direction
* gravityVector
354
);
358
public
:
NXString
Description
359
(
360
);
364
public
:
void
SetDescription
365
(
366
const
NXString
& description
367
);
371
void
SetDescription
372
(
373
const
char
* description
374
);
378
public
:
NXString
Name
379
(
380
);
384
public
:
void
SetName
385
(
386
const
NXString
& name
387
);
391
void
SetName
392
(
393
const
char
* name
394
);
398
public
:
NXOpen::Motion::AdamsSolverProperty
*
AdamsSolverProperty
399
(
400
);
404
public
:
void
SetAdamsSolverProperty
405
(
406
NXOpen::Motion::AdamsSolverProperty
* adamsSolverProperty
407
);
411
public
:
NXOpen::Motion::RecurdynSolverProperty
*
RecurdynSolverProperty
412
(
413
);
417
public
:
void
SetRecurdynSolverProperty
418
(
419
NXOpen::Motion::RecurdynSolverProperty
* recurdynSolverProperty
420
);
424
public
:
bool
IsSkipStep
425
(
426
);
430
public
:
void
SetSkipStep
431
(
432
bool
isSkipStep
433
);
437
public
:
NXString
SkipSteps
438
(
439
);
443
public
:
void
SetSkipSteps
444
(
445
const
NXString
& skipSteps
446
);
450
void
SetSkipSteps
451
(
452
const
char
* skipSteps
453
);
457
public
:
NXOpen::Expression
*
TimeExpression
458
(
459
);
463
public
:
NXOpen::Expression
*
GravityValueExpression
464
(
465
);
466
};
467
}
468
}
469
#ifdef _MSC_VER
470
#pragma warning(pop)
471
#endif
472
#ifdef __GNUC__
473
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
474
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
475
#endif
476
#endif
477
#undef EXPORTLIBRARY