NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
NXTo2dCreator.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 2D数据导出API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// NXTo2dCreator.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/BaseCreator.hxx>
22
#include <NXOpen/ObjectSelector.hxx>
23
#include <NXOpen/libnxopencpp_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
class
NXTo2dCreator
;
34
class
BaseCreator
;
35
class
ObjectSelector
;
36
class
TaggedObject
;
37
class
_NXTo2dCreatorBuilder;
38
class
NXTo2dCreatorImpl;
94
class
NXOPENCPPEXPORT NXTo2dCreator :
public
NXOpen::BaseCreator
95
{
97
public
:
enum
ExportFromOption
98
{
99
ExportFromOptionDisplayPart
,
100
ExportFromOptionExistingPart
101
};
102
103
public
:
enum
OutputToOption
104
{
105
OutputToOptionModeling
,
106
OutputToOptionDrafting
107
};
108
109
public
:
enum
OutputAsOption
110
{
111
OutputAsOptionNXPartFile
,
112
OutputAsOptionIGESFile
113
};
114
115
public
:
enum
ExportDataOption
116
{
117
ExportDataOptionModelData
,
118
ExportDataOptionDrawing
119
};
120
private
:
NXTo2dCreatorImpl
* m_nxto2dcreator_impl;
121
private
:
friend
class
_NXTo2dCreatorBuilder;
122
protected
:
NXTo2dCreator
();
123
public
:
~NXTo2dCreator
();
127
public
:
void
SaveNxto2dSettings
128
(
129
const
NXString
& filename
130
);
134
void
SaveNxto2dSettings
135
(
136
const
char
* filename
137
);
141
public
:
void
SaveIgesSettings
142
(
143
const
NXString
& filename
144
);
148
void
SaveIgesSettings
149
(
150
const
char
* filename
151
);
155
public
:
NXOpen::NXTo2dCreator::ExportFromOption
ExportFrom
156
(
157
);
161
public
:
void
SetExportFrom
162
(
163
NXOpen::NXTo2dCreator::ExportFromOption
exportFrom
164
);
168
public
:
NXString
InputFile
169
(
170
);
174
public
:
void
SetInputFile
175
(
176
const
NXString
& filename
177
);
181
void
SetInputFile
182
(
183
const
char
* filename
184
);
188
public
:
NXOpen::NXTo2dCreator::OutputToOption
OutputTo
189
(
190
);
194
public
:
void
SetOutputTo
195
(
196
NXOpen::NXTo2dCreator::OutputToOption
outputTo
197
);
201
public
:
NXOpen::NXTo2dCreator::OutputAsOption
OutputFileType
202
(
203
);
207
public
:
void
SetOutputFileType
208
(
209
NXOpen::NXTo2dCreator::OutputAsOption
outputFileType
210
);
214
public
:
NXString
Nxto2dSettingsFile
215
(
216
);
220
public
:
void
SetNxto2dSettingsFile
221
(
222
const
NXString
& filename
223
);
227
void
SetNxto2dSettingsFile
228
(
229
const
char
* filename
230
);
234
public
:
NXString
IgesSettingsFile
235
(
236
);
240
public
:
void
SetIgesSettingsFile
241
(
242
const
NXString
& filename
243
);
247
void
SetIgesSettingsFile
248
(
249
const
char
* filename
250
);
254
public
:
NXOpen::NXTo2dCreator::ExportDataOption
ExportData
255
(
256
);
260
public
:
void
SetExportData
261
(
262
NXOpen::NXTo2dCreator::ExportDataOption
exportData
263
);
267
public
:
NXString
DrawingName
268
(
269
);
273
public
:
void
SetDrawingName
274
(
275
const
NXString
& drawingName
276
);
280
void
SetDrawingName
281
(
282
const
char
* drawingName
283
);
287
public
:
NXString
ViewName
288
(
289
);
293
public
:
void
SetViewName
294
(
295
const
NXString
& viewName
296
);
300
void
SetViewName
301
(
302
const
char
* viewName
303
);
307
public
:
NXOpen::ObjectSelector
*
ExportSelectionBlock
308
(
309
);
313
public
:
bool
FacetBodies
314
(
315
);
319
public
:
void
SetFacetBodies
320
(
321
bool
facetBodies
322
);
326
public
:
bool
OverlappingEntities
327
(
328
);
332
public
:
void
SetOverlappingEntities
333
(
334
bool
overlappingEntities
335
);
339
public
:
bool
Jama
340
(
341
);
345
public
:
void
SetJama
346
(
347
bool
jama
348
);
352
public
:
double
SpCurveTolerance
353
(
354
);
358
public
:
void
SetSpCurveTolerance
359
(
360
double
spCurveTolerance
361
);
365
public
:
double
MaxLineThickness
366
(
367
);
371
public
:
void
SetMaxLineThickness
372
(
373
double
maxLineThickness
374
);
378
public
:
bool
MaxSystem3DModelSpace
379
(
380
);
384
public
:
void
SetMaxSystem3DModelSpace
385
(
386
bool
maxSystem3DModelSpace
387
);
391
public
:
double
MaxUser3DModelSpace
392
(
393
);
397
public
:
void
SetMaxUser3DModelSpace
398
(
399
double
maxUser3DModelSpace
400
);
404
public
:
bool
MaxSystemPointRes
405
(
406
);
410
public
:
void
SetMaxSystemPointRes
411
(
412
bool
maxSystemPointRes
413
);
417
public
:
double
MaxUserPointRes
418
(
419
);
423
public
:
void
SetMaxUserPointRes
424
(
425
double
maxUserPointRes
426
);
430
public
:
void
SetDrawingArray
431
(
432
const
std::vector<NXOpen::TaggedObject *> & objects
433
);
434
};
435
}
436
#ifdef _MSC_VER
437
#pragma warning(pop)
438
#endif
439
#ifdef __GNUC__
440
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
441
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
442
#endif
443
#endif
444
#undef EXPORTLIBRARY