NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_MechanismImport.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口的JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_MechanismImport.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
MechanismImport
;
35
}
36
namespace
Motion
37
{
38
class
MotionSession
;
39
}
40
namespace
Assemblies
41
{
42
class
Component
;
43
}
44
class
NXObject
;
45
class
Part
;
46
namespace
Motion
47
{
48
class
MechanismImportImpl;
52
class
NXOPENCPP_MOTIONEXPORT
MechanismImport
53
{
55
public
:
enum
NamingRule
56
{
57
NamingRuleNone
,
58
NamingRuleAddPrefix
,
59
NamingRuleAddSuffix
60
};
61
62
public
:
enum
InvalidElements
63
{
64
InvalidElementsRevert
,
65
InvalidElementsSkip
66
};
67
private
:
MechanismImportImpl
* m_mechanismimport_impl;
68
private
:
NXOpen::Motion::MotionSession
* m_owner;
70
public
:
explicit
MechanismImport
(
NXOpen::Motion::MotionSession
*owner);
72
public
:
74
tag_t
Tag
()
const
;
75
public
:
~MechanismImport
();
79
public
:
void
ImportMdf
80
(
81
NXOpen::NXObject
* workPart ,
82
const
NXString
& fileName ,
83
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
84
const
NXString
& addString ,
85
bool
reportToInfoWindow ,
86
bool
replaceExistingElements ,
87
NXOpen::Motion::MechanismImport::InvalidElements
optionInvalidElements
88
);
92
void
ImportMdf
93
(
94
NXOpen::NXObject
* workPart ,
95
const
char
* fileName ,
96
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
97
const
char
* addString ,
98
bool
reportToInfoWindow ,
99
bool
replaceExistingElements ,
100
NXOpen::Motion::MechanismImport::InvalidElements
optionInvalidElements
101
);
105
public
:
void
ImportXML
106
(
107
NXOpen::Part
* workPart ,
108
const
NXString
& fileName ,
109
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
110
const
NXString
& appendixString ,
111
bool
reportToInfoWindow
112
);
116
void
ImportXML
117
(
118
NXOpen::Part
* workPart ,
119
const
char
* fileName ,
120
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
121
const
char
* appendixString ,
122
bool
reportToInfoWindow
123
);
127
public
:
void
ImportFromSubassembly
128
(
129
NXOpen::Assemblies::Component
* compOcc ,
130
NXOpen::Part
* motionPart ,
131
NXOpen::Part
* workPart ,
132
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
133
const
NXString
& appendixString ,
134
bool
reportToInfoWindow ,
135
bool
abortOnFailure
136
);
140
void
ImportFromSubassembly
141
(
142
NXOpen::Assemblies::Component
* compOcc ,
143
NXOpen::Part
* motionPart ,
144
NXOpen::Part
* workPart ,
145
NXOpen::Motion::MechanismImport::NamingRule
namingRule ,
146
const
char
* appendixString ,
147
bool
reportToInfoWindow ,
148
bool
abortOnFailure
149
);
150
};
//lint !e1712 类未定义默认构造函数
151
}
152
}
153
#ifdef _MSC_VER
154
#pragma warning(pop)
155
#endif
156
#ifdef __GNUC__
157
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
158
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
159
#endif
160
#endif
161
#undef EXPORTLIBRARY