NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_InsertBlockBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Header for C++ interface to JA API
5
//--------------------------------------------------------------------------
6
//
7
// Source File:
8
// Tooling_InsertBlockBuilder.ja
9
//
10
// Generated by:
11
// apiwrap
12
//
13
// WARNING:
14
// This file is automatically generated - do not edit by hand
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/Expression.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/Section.hxx>
24
#include <NXOpen/SelectObjectList.hxx>
25
#include <NXOpen/ugmath.hxx>
26
#include <NXOpen/libnxopencpp_tooling_exports.hxx>
27
#ifdef _MSC_VER
28
#pragma warning(push)
29
#pragma warning(disable:4996)
30
#endif
31
#ifdef __GNUC__
32
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33
#endif
34
namespace
NXOpen
35
{
36
namespace
Tooling
37
{
38
class
InsertBlockBuilder
;
39
}
40
namespace
Assemblies
41
{
42
class
SelectComponentList
;
43
}
44
class
Builder
;
45
class
Expression
;
46
class
Section
;
47
class
SelectFaceList
;
48
class
TaggedObject
;
49
namespace
Tooling
50
{
51
class
_InsertBlockBuilderBuilder;
52
class
InsertBlockBuilderImpl;
98
class
NXOPENCPP_TOOLINGEXPORT InsertBlockBuilder :
public
NXOpen::Builder
99
{
101
public
:
enum
Types
102
{
103
TypesStandardInsert
,
104
TypesUserDefined
,
105
TypesEditBlock
,
106
TypesDeleteBlock
107
};
108
109
public
:
enum
InsertModeItems
110
{
111
InsertModeItemsSketchProfile
,
112
InsertModeItemsBoundingBox
,
113
InsertModeItemsCylinder
114
};
115
116
public
:
enum
InsertBlockTypeItems
117
{
118
InsertBlockTypeItemsPunchBlock
,
119
InsertBlockTypeItemsBottomingBlock
,
120
InsertBlockTypeItemsStripperBlock
,
121
InsertBlockTypeItemsDieBlock
122
};
123
private
:
InsertBlockBuilderImpl
* m_insertblockbuilder_impl;
124
private
:
friend
class
_InsertBlockBuilderBuilder;
125
protected
:
InsertBlockBuilder
();
126
public
:
~InsertBlockBuilder
();
130
public
:
NXOpen::Tooling::InsertBlockBuilder::Types
InsertType
131
(
132
);
136
public
:
void
SetInsertType
137
(
138
NXOpen::Tooling::InsertBlockBuilder::Types
type
139
);
143
public
:
NXOpen::SelectFaceList
*
FacesSelect
144
(
145
);
149
public
:
NXOpen::Assemblies::SelectComponentList
*
InsertToEdit
150
(
151
);
155
public
:
NXOpen::Assemblies::SelectComponentList
*
InsertToDelete
156
(
157
);
161
public
:
NXString
ParentPartName
162
(
163
);
167
public
:
void
SetParentPartName
168
(
169
const
NXString
& parentPartName
170
);
174
void
SetParentPartName
175
(
176
const
char
* parentPartName
177
);
181
public
:
NXString
NewPartNames
182
(
183
);
187
public
:
void
SetNewPartNames
188
(
189
const
NXString
& newPartNames
190
);
194
void
SetNewPartNames
195
(
196
const
char
* newPartNames
197
);
201
public
:
NXOpen::Tooling::InsertBlockBuilder::InsertModeItems
InsertMode
202
(
203
);
207
public
:
void
SetInsertMode
208
(
209
NXOpen::Tooling::InsertBlockBuilder::InsertModeItems
insertMode
210
);
214
public
:
NXOpen::Tooling::InsertBlockBuilder::InsertBlockTypeItems
InsertBlockType
215
(
216
);
220
public
:
void
SetInsertBlockType
221
(
222
NXOpen::Tooling::InsertBlockBuilder::InsertBlockTypeItems
insertBlockType
223
);
227
public
:
NXOpen::TaggedObject
*
StandardInsertBlockTag
228
(
229
);
233
public
:
void
SetStandardInsertBlockTag
234
(
235
NXOpen::TaggedObject
* standardInsertBlockTag
236
);
240
public
:
double
BlockShimDistance
241
(
242
);
246
public
:
void
SetBlockShimDistance
247
(
248
double
blockShimDistance
249
);
253
public
:
bool
ClearanceToggle
254
(
255
);
259
public
:
void
SetClearanceToggle
260
(
261
bool
clearanceToggle
262
);
266
public
:
double
InsertBlockClearance
267
(
268
);
272
public
:
void
SetInsertBlockClearance
273
(
274
double
insertBlockClearance
275
);
279
public
:
NXOpen::Section
*
SelectInsertBlockOutline
280
(
281
);
285
public
:
NXOpen::Expression
*
UserDefinedInsertBlockHeight
286
(
287
);
291
public
:
void
CreateUserDefinedInsertDatumPlane
292
(
293
);
297
public
:
void
DeleteUnusedDatumAndSketch
298
(
299
);
303
public
:
void
AddInsertBlockPart
304
(
305
);
309
public
:
void
SetManipulatorToMatrixAndPosition
310
(
311
const
NXOpen::Matrix3x3
& matrix ,
312
const
NXOpen::Point3d
& position
313
);
317
public
:
void
CalculateBoxSize
318
(
319
);
323
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionPositiveX
324
(
325
);
329
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionNegativeX
330
(
331
);
336
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionPositiveY
337
(
338
);
343
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionNegativeY
344
(
345
);
350
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionPositiveZ
351
(
352
);
357
public
:
NXOpen::Expression
*
OffsetValueLinearDimensionNegativeZ
358
(
359
);
364
public
:
NXOpen::Expression
*
RadialOffset
365
(
366
);
371
public
:
NXOpen::Point3d
BoxPosition
372
(
373
);
378
public
:
void
SetBoxPosition
379
(
380
const
NXOpen::Point3d
& csysOrigin
381
);
386
public
:
void
CreateUserDefinedInsertBlock
387
(
388
);
393
public
:
bool
ConceptDesign
394
(
395
);
400
public
:
void
SetConceptDesign
401
(
402
bool
conceptDesign
403
);
408
public
:
bool
WithoutFalseBody
409
(
410
);
415
public
:
void
SetWithoutFalseBody
416
(
417
bool
withoutFalseBody
418
);
423
public
:
bool
RenameDialog
424
(
425
);
430
public
:
void
SetRenameDialog
431
(
432
bool
renameDialog
433
);
438
public
:
NXOpen::TaggedObject
*
UserDefBlockDatumPlane
439
(
440
);
445
public
:
void
SetUserDefBlockDatumPlane
446
(
447
NXOpen::TaggedObject
* userDefBlockDatumPlane
448
);
452
public
:
bool
ClearanceBPToggle
453
(
454
);
458
public
:
void
SetClearanceBPToggle
459
(
460
bool
clearanceBPToggle
461
);
465
public
:
double
InsertBlockBPClearance
466
(
467
);
471
public
:
void
SetInsertBlockBPClearance
472
(
473
double
insertBlockBPClearance
474
);
478
public
:
bool
ClearanceSPToggle
479
(
480
);
484
public
:
void
SetClearanceSPToggle
485
(
486
bool
clearanceSPToggle
487
);
491
public
:
double
InsertBlockSPClearance
492
(
493
);
497
public
:
void
SetInsertBlockSPClearance
498
(
499
double
insertBlockSPClearance
500
);
504
public
:
double
PrecisionValue
505
(
506
);
510
public
:
void
SetPrecisionValue
511
(
512
double
precisionValue
513
);
517
public
:
double
PositionPrecisionValue
518
(
519
);
523
public
:
void
SetPositionPrecisionValue
524
(
525
double
positionPrecisionValue
526
);
530
public
:
double
BoxOffset
531
(
532
);
536
public
:
void
SetBoxOffset
537
(
538
double
boxOffset
539
);
543
public
:
bool
AutoCreateBottomBlock
544
(
545
);
549
public
:
void
SetAutoCreateBottomBlock
550
(
551
bool
autoBPBlock
552
);
556
public
:
double
AutoBPShimDistance
557
(
558
);
562
public
:
void
SetAutoBPShimDistance
563
(
564
double
autoBPShim
565
);
569
public
:
double
AutoBPOffset
570
(
571
);
575
public
:
void
SetAutoBPOffset
576
(
577
double
autoBPOffset
578
);
582
public
:
bool
AutoCreateStripperBlock
583
(
584
);
588
public
:
void
SetAutoCreateStripperBlock
589
(
590
bool
autoSPBlock
591
);
595
public
:
double
AutoSPShimDistance
596
(
597
);
601
public
:
void
SetAutoSPShimDistance
602
(
603
double
autoSPShim
604
);
608
public
:
double
AutoSPOffset
609
(
610
);
614
public
:
void
SetAutoSPOffset
615
(
616
double
autoSPOffset
617
);
621
public
:
bool
OnlyAutoBPFalseBody
622
(
623
);
627
public
:
void
SetOnlyAutoBPFalseBody
628
(
629
bool
autoSPOffset
630
);
634
public
:
NXString
AutoBPparentName
635
(
636
);
640
public
:
void
SetAutoBPparentName
641
(
642
const
NXString
& autoBpParent
643
);
647
void
SetAutoBPparentName
648
(
649
const
char
* autoBpParent
650
);
654
public
:
NXString
AutoSPparentName
655
(
656
);
660
public
:
void
SetAutoSPparentName
661
(
662
const
NXString
& autoSpParent
663
);
667
void
SetAutoSPparentName
668
(
669
const
char
* autoSpParent
670
);
674
public
:
NXOpen::Expression
*
AutoSPoffsetPositiveX
675
(
676
);
680
public
:
NXOpen::Expression
*
AutoSPoffsetNegativeX
681
(
682
);
686
public
:
NXOpen::Expression
*
AutoSPoffsetPositiveY
687
(
688
);
692
public
:
NXOpen::Expression
*
AutoSPoffsetNegativeY
693
(
694
);
698
public
: std::vector<NXString>
GetInsertedNewNames
699
(
700
);
704
public
:
void
SetInsertedNewNames
705
(
706
std::vector<NXString> & newNames
707
);
708
};
709
}
710
}
711
#ifdef _MSC_VER
712
#pragma warning(pop)
713
#endif
714
#ifdef __GNUC__
715
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
716
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
717
#endif
718
#endif
719
#undef EXPORTLIBRARY