NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
SketchPatternBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// SketchPatternBuilder.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/GeometricUtilities_PatternDefinition.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/Section.hxx>
24
#include <NXOpen/SketchPattern.hxx>
25
#include <NXOpen/libnxopencpp_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
class
SketchPatternBuilder
;
36
class
Builder
;
37
namespace
GeometricUtilities
38
{
39
class
PatternDefinition
;
40
}
41
class
NXObject
;
42
class
Section
;
43
class
_SketchPatternBuilderBuilder;
44
class
SketchPatternBuilderImpl;
251
class
NXOPENCPPEXPORT SketchPatternBuilder :
public
NXOpen::Builder
252
{
253
private
:
SketchPatternBuilderImpl
* m_sketchpatternbuilder_impl;
254
private
:
friend
class
_SketchPatternBuilderBuilder;
255
protected
: SketchPatternBuilder();
256
public
: ~SketchPatternBuilder();
260
public
:
NXOpen::Section
*
Section
261
(
262
);
266
public
:
NXOpen::GeometricUtilities::PatternDefinition
*
PatternService
267
(
268
);
272
public
:
bool
CreateSpacingExp
273
(
274
);
278
public
:
void
SetCreateSpacingExp
279
(
280
bool
createSpacingExp
281
);
285
public
:
void
SetEndConstraint
286
(
287
NXOpen::NXObject
* parent ,
288
int
inx ,
289
bool
isStart ,
290
bool
constraint
291
);
295
public
:
bool
LockOrientation
296
(
297
);
301
public
:
void
SetLockOrientation
302
(
303
bool
lockOrientation
304
);
308
public
:
void
UpdateCopies
309
(
310
);
314
public
:
void
UpdateInputSection
315
(
316
);
320
public
:
void
UpdateLinearDirectionObject
321
(
322
);
326
public
:
void
UpdateCenterPoint
327
(
328
);
332
public
:
void
UpdateRectangularDirectionObjects
333
(
334
);
338
public
:
void
UpdateFromPoint
339
(
340
);
344
public
:
void
EvaluatePattern
345
(
346
);
350
public
:
bool
CreateConstraint
351
(
352
);
356
public
:
void
SetCreateConstraint
357
(
358
bool
constraintCreation
359
);
363
public
:
void
UpdateData
364
(
365
);
369
public
:
void
HandleFlip
370
(
371
);
375
public
:
NXOpen::SketchPattern::RelationScope
RelationScope
376
(
377
);
381
public
:
void
SetRelationScope
382
(
383
NXOpen::SketchPattern::RelationScope
scope
384
);
391
public
:
void
SetRelationFinding
392
(
393
int
instanceXIndex ,
394
int
instanceYIndex ,
395
bool
findRelations
396
);
403
public
:
bool
GetRelationFinding
404
(
405
int
instanceXIndex ,
406
int
instanceYIndex
407
);
408
};
409
}
410
#ifdef _MSC_VER
411
#pragma warning(pop)
412
#endif
413
#ifdef __GNUC__
414
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
415
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
416
#endif
417
#endif
418
#undef EXPORTLIBRARY