NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Gateway_CopyCutBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口的JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Gateway_CopyCutBuilder.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/Builder.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_gateway_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Gateway
34
{
35
class
CopyCutBuilder
;
36
}
37
class
Builder
;
38
class
NXObject
;
39
namespace
Gateway
40
{
41
class
_CopyCutBuilderBuilder;
42
class
CopyCutBuilderImpl;
48
class
NXOPENCPP_GATEWAYEXPORT CopyCutBuilder :
public
NXOpen::Builder
49
{
51
public
:
enum
Status
52
{
53
StatusNoObjectsCopied
,
54
StatusNonExportableObjects
,
55
StatusPartExportFailed
,
56
StatusErrorDuringCut
,
57
StatusAllObjectsCopied
58
};
59
private
:
CopyCutBuilderImpl
* m_copycutbuilder_impl;
60
private
:
friend
class
_CopyCutBuilderBuilder;
61
protected
:
CopyCutBuilder
();
62
public
:
~CopyCutBuilder
();
66
public
:
NXOpen::Gateway::CopyCutBuilder::Status
GetCopyCutStatus
67
(
68
);
72
public
:
bool
IsCut
73
(
74
);
78
public
:
void
SetCut
79
(
80
bool
isCut
81
);
85
public
:
bool
ToClipboard
86
(
87
);
91
public
:
bool
CopyNonAssociative
92
(
93
);
97
public
:
void
SetCopyNonAssociative
98
(
99
bool
isCopyNonAssociative
100
);
104
public
:
void
SetToClipboard
105
(
106
bool
isToClipboard
107
);
111
public
:
NXString
DestinationFilename
112
(
113
);
117
public
:
void
SetDestinationFilename
118
(
119
const
NXString
& filename
120
);
124
void
SetDestinationFilename
125
(
126
const
char
* filename
127
);
131
public
: std::vector<NXOpen::NXObject *>
GetNonExportableObjects
132
(
133
);
137
public
: std::vector<NXOpen::NXObject *>
GetObjects
138
(
139
);
143
public
:
void
SetObjects
144
(
145
const
std::vector<NXOpen::NXObject *> & objects
146
);
150
public
:
bool
CanCopyAsSketch
151
(
152
);
156
public
:
void
SetCanCopyAsSketch
157
(
158
bool
canCopyAsSketch
159
);
163
public
:
NXOpen::Point3d
InitialCopyLocation
164
(
165
);
169
public
:
void
SetInitialCopyLocation
170
(
171
const
NXOpen::Point3d
& copyLocation
172
);
176
public
:
void
ResetInitialCopyLocation
177
(
178
);
179
};
180
}
181
}
182
#ifdef _MSC_VER
183
#pragma warning(pop)
184
#endif
185
#ifdef __GNUC__
186
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
187
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
188
#endif
189
#endif
190
#undef EXPORTLIBRARY