NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
DxfdwgCreator.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// DxfdwgCreator.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/ObjectTypeSelector.hxx>
24
#include <NXOpen/libnxopencpp_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
32
namespace
NXOpen
33
{
34
class
DxfdwgCreator
;
35
class
BaseCreator
;
36
class
ObjectSelector
;
37
class
ObjectTypeSelector
;
38
class
_DxfdwgCreatorBuilder;
39
class
DxfdwgCreatorImpl;
92
class
NXOPENCPPEXPORT DxfdwgCreator :
public
NXOpen::BaseCreator
93
{
95
public
:
enum
ExportFromOption
96
{
97
ExportFromOptionDisplayPart
,
98
ExportFromOptionExistingPart
99
};
100
101
public
:
enum
OutputFileTypeOption
102
{
103
OutputFileTypeOptionDxf
,
104
OutputFileTypeOptionDwg
105
};
106
107
public
:
enum
ExportAsOption
108
{
109
ExportAsOptionTwoD
,
110
ExportAsOptionThreeD
,
111
ExportAsOptionCgm
112
};
113
114
public
:
enum
OutputToOption
115
{
116
OutputToOptionModeling
,
117
OutputToOptionDrafting
118
};
119
120
public
:
enum
ExportDataOption
121
{
122
ExportDataOptionModeling
,
123
ExportDataOptionDrawing
124
};
125
126
public
:
enum
AutoCADRevisionOptions
127
{
128
AutoCADRevisionOptionsR12
,
129
AutoCADRevisionOptionsR13
,
130
AutoCADRevisionOptionsR14
,
131
AutoCADRevisionOptionsR2000
,
132
AutoCADRevisionOptionsR2004
,
133
AutoCADRevisionOptionsR2005
,
134
AutoCADRevisionOptionsR2007
,
135
AutoCADRevisionOptionsR2010
,
136
AutoCADRevisionOptionsR2013
,
137
AutoCADRevisionOptionsR2018
138
};
139
140
public
:
enum
ExportScaleOptions
141
{
142
ExportScaleOptionsDefault
,
143
ExportScaleOptionsBaseView
,
144
ExportScaleOptionsUserSpecified
145
};
146
147
public
:
enum
WidthfactorMethodOptions
148
{
149
WidthfactorMethodOptionsAutomaticCalculation
,
150
WidthfactorMethodOptionsUseSameAsNXAspectratio
,
151
WidthfactorMethodOptionsUseValueSpecifiedInMappingFile
,
152
WidthfactorMethodOptionsScaleNXAspectratioWithSpecifiedValue
153
};
154
155
public
:
enum
ExportFacesAsOptions
156
{
157
ExportFacesAsOptionsFacets
,
158
ExportFacesAsOptionsPolylineMesh
159
};
160
161
public
:
enum
ExportSplinesAsOptions
162
{
163
ExportSplinesAsOptionsSpline
,
164
ExportSplinesAsOptionsPolyline2D
,
165
ExportSplinesAsOptionsPolyline3D
166
};
167
private
:
DxfdwgCreatorImpl
* m_dxfdwgcreator_impl;
168
private
:
friend
class
_DxfdwgCreatorBuilder;
169
protected
:
DxfdwgCreator
();
170
public
:
~DxfdwgCreator
();
174
public
:
void
SaveSettings
175
(
176
const
NXString
& filename
177
);
181
void
SaveSettings
182
(
183
const
char
* filename
184
);
188
public
:
NXOpen::DxfdwgCreator::ExportFromOption
ExportFrom
189
(
190
);
194
public
:
void
SetExportFrom
195
(
196
NXOpen::DxfdwgCreator::ExportFromOption
exportFrom
197
);
201
public
:
NXOpen::DxfdwgCreator::ExportAsOption
ExportAs
202
(
203
);
207
public
:
void
SetExportAs
208
(
209
NXOpen::DxfdwgCreator::ExportAsOption
exportAs
210
);
214
public
:
NXOpen::DxfdwgCreator::ExportDataOption
ExportData
215
(
216
);
220
public
:
void
SetExportData
221
(
222
NXOpen::DxfdwgCreator::ExportDataOption
exportData
223
);
227
public
:
NXOpen::DxfdwgCreator::OutputFileTypeOption
OutputFileType
228
(
229
);
233
public
:
void
SetOutputFileType
234
(
235
NXOpen::DxfdwgCreator::OutputFileTypeOption
outputFileType
236
);
240
public
:
NXString
InputFile
241
(
242
);
246
public
:
void
SetInputFile
247
(
248
const
NXString
& filename
249
);
253
void
SetInputFile
254
(
255
const
char
* filename
256
);
260
public
:
NXOpen::DxfdwgCreator::OutputToOption
OutputTo
261
(
262
);
266
public
:
void
SetOutputTo
267
(
268
NXOpen::DxfdwgCreator::OutputToOption
outputTo
269
);
273
public
:
NXString
SettingsFile
274
(
275
);
279
public
:
void
SetSettingsFile
280
(
281
const
NXString
& filename
282
);
286
void
SetSettingsFile
287
(
288
const
char
* filename
289
);
293
public
:
NXString
TextFontMappingFile
294
(
295
);
299
public
:
void
SetTextFontMappingFile
300
(
301
const
NXString
& filename
302
);
306
void
SetTextFontMappingFile
307
(
308
const
char
* filename
309
);
313
public
:
NXOpen::DxfdwgCreator::WidthfactorMethodOptions
WidthFactorMode
314
(
315
);
319
public
:
void
SetWidthFactorMode
320
(
321
NXOpen::DxfdwgCreator::WidthfactorMethodOptions
widthFactorMode
322
);
326
public
:
NXString
CrossHatchMappingFile
327
(
328
);
332
public
:
void
SetCrossHatchMappingFile
333
(
334
const
NXString
& filename
335
);
339
void
SetCrossHatchMappingFile
340
(
341
const
char
* filename
342
);
346
public
:
NXString
LineFontMappingFile
347
(
348
);
352
public
:
void
SetLineFontMappingFile
353
(
354
const
NXString
& filename
355
);
359
void
SetLineFontMappingFile
360
(
361
const
char
* filename
362
);
366
public
:
NXString
ViewList
367
(
368
);
372
public
:
void
SetViewList
373
(
374
const
NXString
& viewList
375
);
379
void
SetViewList
380
(
381
const
char
* viewList
382
);
386
public
:
NXString
DrawingList
387
(
388
);
392
public
:
void
SetDrawingList
393
(
394
const
NXString
& drawingList
395
);
399
void
SetDrawingList
400
(
401
const
char
* drawingList
402
);
406
public
:
NXOpen::ObjectSelector
*
ExportSelectionBlock
407
(
408
);
412
public
:
NXOpen::ObjectTypeSelector
*
ObjectTypes
413
(
414
);
418
public
:
NXString
LayerMask
419
(
420
);
424
public
:
void
SetLayerMask
425
(
426
const
NXString
& layerMask
427
);
431
void
SetLayerMask
432
(
433
const
char
* layerMask
434
);
438
public
:
NXOpen::DxfdwgCreator::AutoCADRevisionOptions
AutoCADRevision
439
(
440
);
444
public
:
void
SetAutoCADRevision
445
(
446
NXOpen::DxfdwgCreator::AutoCADRevisionOptions
autoCADRevision
447
);
451
public
:
bool
ViewEditMode
452
(
453
);
457
public
:
void
SetViewEditMode
458
(
459
bool
viewEditMode
460
);
464
public
:
bool
FlattenAssembly
465
(
466
);
470
public
:
void
SetFlattenAssembly
471
(
472
bool
flattenAssembly
473
);
477
public
:
bool
OverlappingEntities
478
(
479
);
483
public
:
void
SetOverlappingEntities
484
(
485
bool
overlappingEntities
486
);
490
public
:
NXOpen::DxfdwgCreator::ExportFacesAsOptions
ExportFacesAs
491
(
492
);
496
public
:
void
SetExportFacesAs
497
(
498
NXOpen::DxfdwgCreator::ExportFacesAsOptions
exportFacesAs
499
);
503
public
:
NXOpen::DxfdwgCreator::ExportSplinesAsOptions
ExportSplinesAs
504
(
505
);
509
public
:
void
SetExportSplinesAs
510
(
511
NXOpen::DxfdwgCreator::ExportSplinesAsOptions
exportSplinesAs
512
);
516
public
:
NXOpen::DxfdwgCreator::ExportScaleOptions
ExportScaleOption
517
(
518
);
522
public
:
void
SetExportScaleOption
523
(
524
NXOpen::DxfdwgCreator::ExportScaleOptions
exportScaleOption
525
);
529
public
:
double
ExportScaleValue
530
(
531
);
535
public
:
void
SetExportScaleValue
536
(
537
double
exportScaleValue
538
);
542
public
:
int
SurfaceDesignU
543
(
544
);
548
public
:
void
SetSurfaceDesignU
549
(
550
int
surfaceDesignU
551
);
555
public
:
int
SurfaceDesignV
556
(
557
);
561
public
:
void
SetSurfaceDesignV
562
(
563
int
surfaceDesignV
564
);
568
public
:
bool
FileSaveFlag
569
(
570
);
574
public
:
void
SetFileSaveFlag
575
(
576
bool
doingFileSave
577
);
578
};
579
}
580
#ifdef _MSC_VER
581
#pragma warning(pop)
582
#endif
583
#ifdef __GNUC__
584
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
585
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
586
#endif
587
#endif
588
#undef EXPORTLIBRARY