NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Motion_MotionSimulation.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Motion_MotionSimulation.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/Motion_AddSubmechanismBuilder.hxx>
22#include <NXOpen/Motion_SolutionManager.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_motion_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
32namespace NXOpen
33{
34 namespace Motion
35 {
36 class MotionSimulation;
37 }
38 class Session;
39 class CoordinateSystem;
40 namespace Motion
41 {
43 }
44 namespace Motion
45 {
46 class Link;
47 }
48 namespace Motion
49 {
50 class MotionSolution;
51 }
52 namespace Motion
53 {
54 class SolutionManager;
55 }
56 class NXObject;
57 class Part;
58 namespace Motion
59 {
60 class MotionSimulationImpl;
64 class NXOPENCPP_MOTIONEXPORT MotionSimulation
65 {
73 private: MotionSimulationImpl * m_motionsimulation_impl;
74 private: NXOpen::Session* m_owner;
76 public: explicit MotionSimulation(NXOpen::Session *owner);
78 public:
80 tag_t Tag() const;
81 public: ~MotionSimulation();
86 (
87 NXOpen::NXObject * motionPart
88 );
92 public: void ExportRecurdynSdk
93 (
94 const NXString & fullFileName
95 );
100 (
101 const char * fullFileName
102 );
107 (
108 NXOpen::NXObject * submechanism ,
109 const NXString & name
110 );
115 (
116 NXOpen::NXObject * submechanism ,
117 const char * name
118 );
124 (
125 NXOpen::NXObject * sumbmechanism ,
127 );
132 (
133 NXOpen::NXObject * part
134 );
139 (
140 NXOpen::Part * motionPart ,
141 NXOpen::NXObject * obj
142 );
147 (
148 NXOpen::Part * motionPart ,
149 NXOpen::NXObject * obj
150 );
155 (
156 NXOpen::Part * motionPart
157 );
161 public: void SetAdamsStlParams
162 (
163 double minFacetEdgeLen ,
164 double maxFacetEdgeLen ,
165 double facetToSurfaceTolerance
166 );
171 (
172 const NXString & fullFileName ,
174 );
179 (
180 const char * fullFileName ,
182 );
186 public: void WriteAdamsAnlFile
187 (
188 const NXString & fullFileName
189 );
194 (
195 const char * fullFileName
196 );
200 public: void WriteRdsdkAdmFile
201 (
202 const NXString & fullFileName
203 );
208 (
209 const char * fullFileName
210 );
214 public: void AddCADSourcePart
215 (
216 NXOpen::Part * motionPart ,
217 NXOpen::NXObject * sourcePart
218 );
223 (
224 NXOpen::Part * motionPart ,
225 bool deleteMotionObjects
226 );
231 (
232 NXOpen::Part * motionPart
233 );
238 (
239 NXOpen::Part * motionPart
240 );
245 (
246 const std::vector<NXOpen::Motion::Link *> & bodies
247 );
248 }; //lint !e1712 类未定义默认构造函数
249 }
250}
251#ifdef _MSC_VER
252#pragma warning(pop)
253#endif
254#ifdef __GNUC__
255#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
256#pragma GCC diagnostic warning "-Wdeprecated-declarations"
257#endif
258#endif
259#undef EXPORTLIBRARY